Page 1 of 1

Create a string variable AS LONG AS THE USER DOES NOT END THE PROGRAM Introduce the menu to the user The user makes a me

Posted: Fri May 20, 2022 11:50 am
by answerhappygod
Create a string variable
AS LONG AS THE USER DOES NOT END THE PROGRAM
Introduce the menu to the user
The user makes a menu selection
SELECT case from [menu selection]
Menu option 1:
The user gives a value to the string variable
Menu option 2:
Print the string variable
Menu option 3:
End the program
The program should have these specifications; The program should
have a while loop. Inside the while loop, we should have a switch
menu where the user can select menu option 1, 2 or 3. In menu
option 1, the user must be able to assign a value to a string
variable. In menu option 2, the user must be able to see the
assigned string value. In menu option 3, the user must be able to
exit the program Comment on your code briefly, so we can see which
code does what.