Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(mousa) please I want the code in a copy and paste format and solve it by using #incloud thank you Write a C++ program that

(mousa)

please I want the code in a copy and paste format

and solve it by using #incloud

thank you


Write a C++ program that performs the following: (40 points) Prints on screen a selection menu as follow: (13 points) (13 points) (13 points) (1 point) (marks will be distributed equally between the branches of each main point except the last branch) a. Calculations. b. series, sum perfects and draw. c. 2 D Array. d. Exit. a. If user presses a or A, the following sub menu should be displayed: 1- If user presses 1, Write a code that will allow the user to enter three integers and order theseintegers from smallest to largest using functions. (Use function to enter the three integer numbers by the user and another function that receives the three integers and order them). 2- If user presses 2, The sum of the last and first digits: write a function that finds the sum of the first and last digits of any entered integer number by the user as the following example: x=1267, sum digits = 8). 3- If user presses 3, Max Prime: Write a function that reads in 10 prime numbers, then the program should find and print out the maximum prime number. (Any non-prime number will not be counted from the entered numbers). Hint: Use continue statement. 4- If user presses 4, Returm to the main menu.

Step by Step Solution

3.38 Rating (151 Votes )

There are 3 Steps involved in it

Step: 1

include include include include includ... 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

Andersons Business Law and the Legal Environment

Authors: David p. twomey, Marianne moody Jennings

21st Edition

1111400547, 324786662, 978-1111400545, 978-0324786668

More Books

Students also viewed these Programming questions

Question

=+b) What if those two probabilities are reversed?

Answered: 1 week ago

Question

What are the skills of management ?

Answered: 1 week ago