Initial commit

This commit is contained in:
Chris Cromer
2016-06-20 13:25:01 -04:00
commit a41abff9b0
66 changed files with 4205 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
public int buscar(int valor) {
for (int i = 0; i < array.length; i++) {
if (array[i] != 0 && array[i] == valor) {
// Se encontró
return i;
}
}
// No se encontró
return -1;
}