C++/ Visual studios
Write a program that:
- Asks the user to input a number
- 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
- Asks the user to input the right hand operand
- Make sure you don’t divide by 0!
- Displays the result
Points:
2 – Documentation, readability, format
3 – Proper use of conditional statements
2 – Filename and Header
3 – Output testing