0
How to put Scanner
This is my code: (This code works, it just needs the Scanner) https://code.sololearn.com/ca157A16A12a
1 Answer
+ 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