0
Scanner problem
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner Inputinfo= new Scanner (System.in); System.out.print("What is your name ??"); String Name=Inputinfo.nextLine (); System.out.print("Your school"); String School1=Inputinfo.nextLine(); System.out.print("whats your age please"); int Age=Inputinfo.nextint (); System.out.print("your name is "+Name+"you are in school "+School1+"and you are "+Age+"year old");
1 Respuesta
0
nextInt();