Write a program that prompts user to enter integers one at a time and then calculates and displays the average of numbers entered. Use a while loop and tell user that they can enter a non-zero number to continue or zero to terminate the loop.
(Switch statement) Write a program that prompts user to enter two numbers x and y, and then prompts a short menu with following 4 arithmetic operations:
Chose 1 for addition
Chose 2 for subtraction
Chose 3 for multiplication
Chose 4 for division
Chose 0 to exit
Based on the user’s choice display the right result, for example if user choses 3, display x * y =z. Program should allow user to keep making choices from the menu till they enter 0 to exit. It’s a c++ program.
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlinesOrder Paper Now