+ 1
How to make name checker
How to make java code that asks you a for your name and then prints it in output? https://code.sololearn.com/c78Nav8nWluc/?ref=app
2 Answers
+ 6
System.out.println("What is your name:");
String name = new Scanner(System.in).nextLine();
System.out.println(name);
+ 1
Thank you for help!