0

Why am i getting an error that says "Symbol not found" when I run this code?

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

3rd Jan 2020, 10:32 AM
Dlamini Sinengcebo
Dlamini Sinengcebo - avatar
11 Answers
+ 4
You have not used a Scanner class to take user input. https://www.sololearn.com/learn/Java/2220/
3rd Jan 2020, 10:38 AM
Avinesh
Avinesh - avatar
+ 2
https://code.sololearn.com/cp68nHm4zFEB/?ref=app Vasiliy I tried it this time and I think it worked. I guess I had to be more careful
3rd Jan 2020, 11:37 AM
Dlamini Sinengcebo
Dlamini Sinengcebo - avatar
+ 1
bug: int y = scanner.nextInt(); debug: int y = new Scanner(System.in).nextInt();
3rd Jan 2020, 11:01 AM
Solo
Solo - avatar
+ 1
If you want to contact someone, you need to write a name through the symbol "@", Dlamini Sinengcebo
3rd Jan 2020, 11:25 AM
Solo
Solo - avatar
+ 1
You can of course, but then you will not understand and do not remember how to apply "Scanner"
3rd Jan 2020, 11:35 AM
Solo
Solo - avatar
+ 1
👏👏👏👍 I'm happy for you, and now try to change the syntax of writing your code to consolidate the topic
3rd Jan 2020, 11:45 AM
Solo
Solo - avatar
+ 1
Reduce your code with minimal use of variables
3rd Jan 2020, 11:05 PM
Solo
Solo - avatar
0
Thabk you. Helped me a lot!
3rd Jan 2020, 10:44 AM
Dlamini Sinengcebo
Dlamini Sinengcebo - avatar
0
Do you mind to edit the code for me and send me the link so i can run it myself ? Vasiliy and Avinesh
3rd Jan 2020, 11:11 AM
Dlamini Sinengcebo
Dlamini Sinengcebo - avatar
0
Thanks Vasiliy
3rd Jan 2020, 11:26 AM
Dlamini Sinengcebo
Dlamini Sinengcebo - avatar
0
Vasiliy Does that include the way i name my data types ,classes etc?
3rd Jan 2020, 12:15 PM
Dlamini Sinengcebo
Dlamini Sinengcebo - avatar