Advertisement
JosephGlz

Proyecto_Arrays_main

May 12th, 2021
585
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.92 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Proyecto_Arrays_main
  4. {
  5.     public static void main(String[] args)
  6.     {
  7.         Scanner read = new Scanner(System.in);
  8.         Proyecto_Array Cuenta1 = new Proyecto_Array();
  9.  
  10.         int op = 0;
  11.  
  12.         do
  13.         {
  14.             System.out.println("");
  15.             System.out.println("Seleccione una opción:");
  16.             System.out.println("    1) Inicializar Cuentas");
  17.             System.out.println("    2) Datos de Cuentas");
  18.             System.out.println("    0) Salir");
  19.             op = read.nextInt();
  20.  
  21.             switch (op)
  22.             {
  23.                 case 1:
  24.                 {
  25.                     Cuenta1.Inicializar_Arreglo();
  26.                     break;
  27.                 }
  28.                 case 2:
  29.                 {
  30.                     Cuenta1.MenuOpciones();
  31.                     break;
  32.                 }
  33.             }
  34.         }while(op > 0);
  35.     }
  36. }
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement