@@ -0,0 +1,1957 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Aclass Persona%7B%0A  public static void main(String%5B%5D args)%7B%0A    String nome,cognome,id;%0A    char scelta=' ';%0A    int soldi;%0A    Scanner in = new Scanner (System.in);%0A%0A    System.out.println(%22Inserisci Nome: %22);%0A    nome= in.nextLine();%0A    System.out.println(%22Inserisci Cognome: %22);%0A    cognome= in.nextLine();%0A    System.out.println(%22Inserisci Codice Cliente: %22);%0A    id= in.nextLine();%0A%0A    Bancomat b= new Bancomat(nome,cognome,id);%0A%0A    //System.out.println(b.stampa());%0A    while(scelta!='4')%7B%0A%0A      System.out.println(%22%5Cn%5Cn%5Cn**************%5Cn     Menu%5Cn**************%22);%0A      System.out.println(%221) Visualizza saldo.%22);%0A      System.out.println(%222) Deposita denaro.%22);%0A      System.out.println(%223) Ritira denaro.%22);%0A      System.out.println(%224) Esci%22);%0A%0A      scelta=in.next().charAt(0);%0A      switch(scelta)%7B%0A        case '1':%0A          //Visualizzare saldo.%0A          b.getOperazione(scelta);%0A          System.out.println(%22%5Cn%5CnSaldo attuale: %22 + b.visualizzaSaldo()+%22 euro%22);%0A          break;%0A        case '2':%0A          //Depositare denaro%0A          System.out.println(%22Quanto vuoi depositare?%22);%0A          soldi=in.nextInt();%0A          b.depositaDenaro(soldi);%0A          b.getOperazione(scelta);%0A          System.out.println(%22%5Cn%5CnSaldo attuale: %22 + b.visualizzaSaldo()+%22 euro%22);%0A%0A          break;%0A        case '3':%0A          //Ritirare denaro%0A          System.out.println(%22Quanto vuoi ritirare?%22);%0A          soldi=in.nextInt();%0A          b.ritiraDenaro(soldi);%0A          b.getOperazione(scelta);%0A          System.out.println(%22%5Cn%5CnSaldo attuale: %22 + b.visualizzaSaldo()+%22 euro%22);%0A          break;%0A        case '4':%0A          System.out.println(b.stampa());%0A          System.out.println(%22%5Cn%5CnSaldo finale: %22 + b.visualizzaSaldo()+%22 euro%22);%0A          System.out.println(%22Arrivederci!%22);%0A          break;%0A        default:%0A          System.out.println(%22SCELTA NON VALIDA!%22);%0A          break;%0A      %7D%0A    %7D%0A%0A%0A  %7D%0A%0A%7D%0A

Create Persona.java