Write a program thatAsks the user to input a numberPresents
You Are Eligible For 15% Discount This Month!
Write a program that:Asks the user to input a numberPresents the user a menu of options: + – / * %Make selecting a menu item easy! The user should provide a lower case letter or a digit as inputUse a switch statement to determine which operator was chosenAsks the user to input the right hand operandMake sure you don’t divide by 0!Displays the resultPoints:2 – Documentation, readability, format3 – Proper use of conditional statements2 – Filename and Header3 – Output testing
Leave a Reply
Want to join the discussion?Feel free to contribute!