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.

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.

Don't use plagiarized sources. Get Your Custom Essay on
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.
Just from $8 /Page 0r 300 words
Order Now

Looking for a similar assignment? Get help from our qualified experts!

Order Now

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 deadlines

Order Paper Now