package experimento2;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Experimento2 {

	
    public static void main(String[] args) throws Exception {
        
        Discotienda discotienda = new Discotienda();
        CD cd = new CD();
                
        int opcion;
        
		do              
        
                        {
			System.out.println("Buenos días, ¿Qué desea hacer?");
			System.out.println("1. Registrar datos de la Discotienda");
			System.out.println("2. Agregar CD's al inventario");
			System.out.println("3. Salir");
			BufferedReader lector=new BufferedReader(new InputStreamReader(System.in));
			opcion = Integer.parseInt(lector.readLine());
			
			switch (opcion)
			{
				case 1:  
					
					System.out.println("Ingrese el nombre de la Discotienda");
					String nombre = lector.readLine();
					System.out.println("Ingrese la dirección del establecimiento");
					String direccion = lector.readLine();
					System.out.println("Ingresar un teléfono(s)");
					discotienda.telefono();
					System.out.println("Ingrese el nombre de un empleado(s)");
					discotienda.empleado();
					break;
					
				case 2:
					
					
					cd.album();
					
					
			}			
                        }while(opcion!=3);
    }
}                   
  