Need a help to solve this task in java. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

26th Oct 2020, 5:56 AM
Om Sri
9 Answers
+ 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.
26th Oct 2020, 10:33 AM
NavyaSri
NavyaSri - avatar
+ 4
Ok sure I will try
26th Oct 2020, 3:16 PM
NavyaSri
NavyaSri - avatar
26th Oct 2020, 2:51 PM
NavyaSri
NavyaSri - avatar
+ 2
26th Oct 2020, 2:49 PM
Om Sri
+ 1
☕Naͥvyͣaͫ can you pls try this question am confusing in lists menu
26th Oct 2020, 2:56 PM
Om Sri
+ 1
☕Naͥvyͣaͫ 😇😇✨🌟💫💫
26th Oct 2020, 3:45 PM
Om Sri
+ 1
Very very Thanks ❤️😇👌👏🤗
27th Oct 2020, 1:15 AM
Om Sri
0
+2
27th Oct 2020, 6:11 PM
ABDUSSAMAD ADAM ISMAILA
ABDUSSAMAD ADAM ISMAILA - avatar