This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.JOptionPane; | |
public class paradigma { | |
public static void main(String[] args) { | |
int[] in = ingresar(); | |
sumar(in); | |
} | |
public static int[] ingresar() { | |
int arreglo[] = new int[10]; | |
for (int i = 0; i < 10; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.trabajo; | |
import javax.swing.JOptionPane; | |
public class Proyecto { | |
/** | |
* Metodo inicial. | |
*/ | |
public static void main(String[] args) { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
property = [:algo, :face, :lo] | |
puts suffix_property_id = | |
property.inject { |memo, prop| "#{memo}_#{prop}"} | |
model = {algo: {otro: 'cantelas', face: {lo: 'lu'}}} | |
def unwrap model, property, index = 0 | |
if index < property.length - 1 | |
puts property[index] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// * verticar -> vertical | |
// * obtenerResultado en vez de imprimirResultado, además decía imprir, ese método no imprime nada. | |
// * No hay consistencia al usar descendente y en el método imprimir dizque decreciente. | |
// * Papi que es eso de horizontal descendente y ascendente. | |
// * Transversal y diagonal sinónimos, son confusos esos nombres. | |
package parcialbactraking; | |
public class ParcialBactraking { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.1 | |
artifacts: | |
files: | |
- '**/*' | |
- appspec.yml | |
discard-paths: no |
OlderNewer