import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scann | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scann

What is wrong in this

20th Sep 2022, 3:22 PM
Senthil
3 Answers
+ 11
Hey! Please avoid writing the code in the question section as it might get cut off Instead save your entire code in the Sololearn code playground and then share that Also try to put relevant tags as your code is incomplete and you have mentioned 👉🏻 switch Can you describe what error are you getting?
20th Sep 2022, 3:39 PM
Suparna Das
Suparna Das - avatar
+ 3
Hi! Your program is incomplete.
20th Sep 2022, 3:30 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Must add a variable
21st Sep 2022, 6:04 AM
Kamesh S