Advertisement
robeeeert

Menu

Apr 12th, 2023
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.65 KB | None | 0 0
  1. /*
  2.  * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
  3.  */
  4.  
  5. package com.mycompany.proyecto1;
  6.  
  7. /**Proyecto No. 1
  8.  * Desarrollado Por:
  9.  * Victor Macario    7690-22-5042
  10.  * Jean Castañeda    7690-22-335
  11.  * Jonathan Orellana 7690-22-892
  12.  * Geobany Reyna     7690-22-8291
  13.  * Roberto Ramírez   7690-22-12700
  14.  */
  15. import java.util.*;
  16. public class Proyecto1 {
  17.  
  18.     public static void main(String[] args) {
  19.         int opcion = 0;
  20.         int salir = 0;
  21.         Scanner entrada = new Scanner(System.in);
  22.         while(salir !=1){
  23.             System.out.println("\tMENU PRINCIPAL\n");
  24.             menu();
  25.             try{
  26.                 opcion = entrada.nextInt();
  27.             }catch(Exception e){
  28.                 System.out.println("Error de E/S: " + e);
  29.             }
  30.             switch(opcion){
  31.                 case 1:
  32.                     break;
  33.                 case 2:
  34.                     break;
  35.                 case 3:
  36.                     break;
  37.                 case 4:
  38.                     break;
  39.                 case 5:
  40.                     problema5();
  41.                     break;
  42.                 case 6:
  43.                     //Problema6 p6 = new Problema6();
  44.                    // p6.Problema6();
  45.                     problema6();
  46.                     break;
  47.                 case 7:
  48.                     break;
  49.                 case 8:
  50.                     break;
  51.                 case 9:
  52.                     break;
  53.                 case 10:
  54.                     break;
  55.                 case 11:
  56.                     salir = 1;
  57.                     break;
  58.             }
  59.         }
  60.        
  61.     }
Tags: Menu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement