Question: 1. Write a Java program to implement the following: a. Display the menu which consists of list of three choices. User has to select
\

1. Write a Java program to implement the following: a. Display the menu which consists of list of three choices. User has to select any one option from the list and the output should be displayed. b. In the first choice implement the concept of if-else c. In the second choice implement the concept of while loop using break statement d. In the third choice implement the concept of for loop Hint: a) Use switch statement b) Display menu should be like this: *** MENU *** 1. if-else 2. while loop using break 3. for loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
