Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started