Profile cover photo
Profile photo
ed ve
40 followers
40 followers
About
Posts

Post has attachment
Public
Ecuación de segundo grado
Pedir los coeficientes de una ecuación se 2º grado, y muestre sus soluciones . Si no existen indicarlo. formulas: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class JavaApplication1 {     public static ...
Add a comment...

Post has attachment

Post has attachment
Public
Lógica sucesión de números
Dada la siguiente sucesión de números: 2, 4, 8, 6, 36, 72, 70, 4900, 9800,... mediante el uso de funciones, mostrar en pantalla los términos de esta serie y calcular la suma de N (N se indica por teclado) elementos, es decir, SUMA=2+4+8+6+..... EXPLICACION ...
Add a comment...

Post has attachment
Merge sort
Merge sort public class MergeSort {  private int[] array;  private int[] tempMergArr;  private int length;  public static void main(String a[]) {  int[] inputArr = { 32, 27, 51, 89, 1, 98, 9, 28, 65, 0 };  MergeSort mms = new MergeSort();  mms.sort(inputArr...
Add a comment...

Post has attachment
Merge sort
Merge sort public class MergeSort {  private int[] array;  private int[] tempMergArr;  private int length;  public static void main(String a[]) {  int[] inputArr = { 32, 27, 51, 89, 1, 98, 9, 28, 65, 0 };  MergeSort mms = new MergeSort();  mms.sort(inputArr...
Add a comment...

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Shell Sort
Method Shell Sort public class ShellSort { private long[] data; private int len; public ShellSort(int max) { data = new long[max]; len = 0; } public void insert(long value) { data[len] = value; len++; } public void display() { for (int j = 0; j < len; j++) ...
Add a comment...
Wait while more posts are being loaded