+ 5
Need a help to solve this task in java.
Sorry i didn't have any attempt actually i did not understood Question how to solve i need guidance how to solve it . If anyone can solve then pls do it. This is the Question. https://www.sololearn.com/post/705137/?ref=app
9 Réponses
+ 5
Step 1 : at the beginning of your program you need to import Scanner class for getting input from the user .
Step 2 : in your problem, system require two inputs that are =》
1) character type
2) integer type
for doing this , you need to initialize Scanner class I.e.,
Scanner object=Scanner(System.in);
char mainMenu=object.next().charAt(0); //reading character from string
int subMenu =object.nextInt(); //reading integer
Step 3 : by using nested Switch statements you can easily find out the solution for your problem.
+ 4
Ok sure I will try
+ 3
🐍🐍🐍🐍🐉 welcome..
+ 2
☕Naͥvyͣaͫ thanku
+ 1
☕Naͥvyͣaͫ can you pls try this question am confusing in lists menu
+ 1
☕Naͥvyͣaͫ 😇😇✨🌟💫💫
+ 1
Very very Thanks ❤️😇👌👏🤗
0
+2