joseleonweb

Untitled

Dec 3rd, 2020
478
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ...
  2. System.out.print("cuantas monedas vols jugador"+(i+1)+"  (de 0 a 3):");
  3. do{
  4.     moneda[i]=sc.nextInt();
  5.     if(moneda[i]<0 || moneda[i]>3) System.out.print("sols pots posar 0,1,2,3 monedas");
  6. } while(moneda[i]<0 || moneda[i]>3);
RAW Paste Data