0

How to put Scanner

This is my code: (This code works, it just needs the Scanner) https://code.sololearn.com/ca157A16A12a

28th May 2021, 9:03 PM
Brianna
1 Resposta
+ 2
Hello Brianna import java.util.Scanner; In your main: Scanner scan = new Scanner(System.in); String input = scan.next(); .nextLine() reads the complete Line
28th May 2021, 9:11 PM
Denise Roßberg
Denise Roßberg - avatar