Answered step by step
Verified Expert Solution
Link Copied!

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:

  1. The program should display a menu with the following options:
    1. Multiply
    2. Divide
    3. Add
    4. Subtract
    5. Quit
  2. Then, whichever choice is selected, it should capture the choice that was made.
  3. 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)
  4. At this point, the program should then perform the action and display the correct output.
  5. Then I would like the program to ask if additional actions need to be done.
  6. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain how a company can justify smaller order quantities.

Answered: 1 week ago