Está en la página 1de 2

// PROYECTO FINAL.

// 27 DE NOVIEMBRE DEL 2019.


// PROGRAMÓ: JESÚS ANTONIO DOMINGUEZ JAIMES Y CARLOS ROBERTO
PORCAYO RAMIREZ.
// PROGRAMA QUE PLANTEE UNA CONSTRUCTORA Y TE DE OPCIONES DE
MATERIALES A ADQUIRIR.

package proyecto.pkgfinal;

import javax.swing.JOptionPane;

public class PROYECTOFINAL {

public static void main(String[] args) {

int opcion;

JOptionPane.showMessageDialog(null,"Bienvenido a nuestra constructora bro.");

opcion = Integer.parseInt(JOptionPane.showInputDialog(null, "Elige el material que


deseas adqurir." +
"\n 1. Madera." + "\n 2. Cemento." +
"\n 3. Arena." + "\n 4. Grava." + "\n 5. Varilla." + "\n 6. Mortero." + "\n 7.
Maquinaria." + "\n 8. Salir."));

switch(opcion){
case 1:

}
}

También podría gustarte