This commit is contained in:
Orange_Dugongo 2016-10-10 17:21:33 +02:00
parent bcc0373eb3
commit da415a3d72

View File

@ -6,7 +6,7 @@ public class RettangoloDaTastiera{
Rectangle ret, retMax=null; Rectangle ret, retMax=null;
int i=0, imax=0; int i=0, imax=0;
Scanner in = new Scanner(System.in); Scanner in = new Scanner(System.in);
System.out.println("Inserisci la x, la y, la larghezza e l'altezza: "); System.out.println("Inserisci la x, la y, la larghezza e l'altezza: ");
ret = new Rectangle(in.nextInt(), in.nextInt(), in.nextInt(), in.nextInt()); ret = new Rectangle(in.nextInt(), in.nextInt(), in.nextInt(), in.nextInt());