+ 3
Help!I am Italian
Why it doesn't work?------> public class Program { public static void main(String[] args) { Scanner myVar = new Scanner(System.in); System.out.println(myVar.nextLine()); if(myVar>12){System.ut.println("sei grande")}; } }
2 Antworten
+ 1
you must. import java.util.Scanner
+ 1
and use nextInt() for numbers