C++/ Visual studios

Write a program that:

  1. Asks the user to input a number
  2. Presents the user a menu of options: + – / * %
    • Make selecting a menu item easy! The user should provide a lower case letter or a digit as input
    • Use a switch statement to determine which operator was chosen
  3. Asks the user to input the right hand operand
    • Make sure you don’t divide by 0!
  4. Displays the result


2 – Documentation, readability, format

3 – Proper use of conditional statements

2 – Filename and Header

3 – Output testing

"Is this question part of your assignment? We can help"