Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ If the user press 3: The program reads numbers from user until O is entered, then it displays another menu: 1- Max number 2-

image text in transcribed

c++

If the user press 3: The program reads numbers from user until O is entered, then it displays another menu: 1- Max number 2- Min number 3- Average. 4- Print the numbers in reverse. 5- Return If user press 1: the program should print the largest number of the entered numbers. If user press 2: the program should print the smallest number of the entered numbers. If the user press 3: the program should print the average between the numbers. If user press 4: the program should print all the entered numbers in reverse order. If the user press 5: the program should return and display main menu Example input: 795 8230 Output: 1- 9 2- 2 3- 5.666667 4. 328597 If the user press 4: The program should read number from user and prints the reverse of even digits only. Example input: 958746 Output: 648 The menu will always display until the user press 5, the program will stop

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions