This program will always print a menu of 5 options. If user chooses for example 1 (addition), the program will ask him to enter 2 numbers that the program will add to each other. Then, the menu options are printed again and so on… If user chooses 5 (quit), the program will stop. Below an example of execution (user’s input is in red). Write the program where the menu is a function, as well as the 4 calculus operations (addition, subtraction…) Welcome to calculator your options are: 1) Addition 2) Subtraction 3) Multiplication 4) Division 5) Quit calculator Choose your option: 1 Add this: 3 to this: 4 3 + 4 = 7 Welcome to calculator your options are: 1) Addition 2) Subtraction 3) Multiplication 4) Division 5) Quit calculator Choose your option: 2 Subtract this: 6 from this: 9 9 - 6 = 3 using while,for and array if possible
Dear m, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
I really appreciated the assignments completed for me. They were completed in a timely fashion and thorough and everything was handled professionally and I could not have been happier. Thank you so much for all the help!