Question: I'd like a PowerShell program that will do the following: The program should display a menu with the following options: Multiply Divide Add Subtract Quit
I'd like a PowerShell program that will do the following:
- The program should display a menu with the following options:
- Multiply
- Divide
- Add
- Subtract
- Quit
- Then, whichever choice is selected, it should capture the choice that was made.
- Now, the program should process the response the user made into action by asking for 2 additional integers (such as if the user selected to multiply, the program would ask for two numbers)
- At this point, the program should then perform the action and display the correct output.
- Then I would like the program to ask if additional actions need to be done.
- If the user wishes to quit the program, it should cancel when they select the Quit option and enter it.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
