9th Oct 2022, 5:43 PM
Yogesh
4 Respuestas
+ 1
At line 5, it should be `Scanner sc = new Scanner(System.in);` Class names begins with uppercase letter, so `Scanner` is correct but `scanner` is unknown class name. Java syntax is case sensitive.
10th Oct 2022, 3:55 AM
Ipang
+ 2
Maybe you should start reading rather than asking.
9th Oct 2022, 5:54 PM
Prabhas Koya
15th Oct 2022, 4:54 AM
Chris Coder
Chris Coder - avatar
0
https://code.sololearn.com/cd42ki7Dgedc/?ref=app solution please
9th Oct 2022, 6:00 PM
Yogesh