+ 1

Can any one help me. Why it shows error

https://code.sololearn.com/c9bP6Bj90HW3/?ref=app

4th Dec 2020, 9:43 AM
THE NOOB
4 Respostas
+ 8
THE NOOB You haven't imported!!!! After importing it will work!
4th Dec 2020, 1:15 PM
Piyush
Piyush - avatar
+ 4
Scanner is a class in Java that comes in java.util package. In order to use Scanner, you need to import it first. import java.util.Scanner;
4th Dec 2020, 9:49 AM
Minho
Minho - avatar
0
I am begginer
4th Dec 2020, 9:44 AM
THE NOOB
0
Thank you all
4th Dec 2020, 10:18 AM
THE NOOB