(mousa) please I want the code in a copy and paste format and solve it by using...
Fantastic news! We've Found the answer you've been seeking!
Question:
(mousa)
please I want the code in a copy and paste format
and solve it by using #incloud
thank you
Transcribed Image Text:
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. 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.
Expert Answer:
Related Book For
Andersons Business Law and the Legal Environment
ISBN: 978-0324786668
21st Edition
Authors: David p. twomey, Marianne moody Jennings
Posted Date:
Students also viewed these programming questions
-
1) Which of the following is an example of time series problem? A) Estimating number of hotel rooms booking in next 6 months. B) Estimating the total sales in next 3 years of an insurance company. C)...
-
4) Which of the following is relatively easier to estimate in time series modeling? A) Seasonality B) Cyclical C) No difference between Seasonality and Cyclical 5) The below time series plot contains...
-
Q2). Given the following loading diagram below, complete the following tasks: a). Determine all reaction forces Determine the internal forces for every 1m interval and state whether there is a...
-
An inclined manometer is a useful device for measuring small pressure differences. The formula given in Section 3.4 for the pressure difference in terms of the liquid-level difference h remains...
-
Name each of the following compounds using IUPAC substitutive nomenclature. (a) (b) CH,CH,CH, CH,CHCHCH,CH CH CH CH
-
Estimate the enthalpy of reaction R for the combustion process of carbon monoxide at 3960 R, using (a) Enthalpy data (b) KP data.
-
Nissan is changing the design of one of its highest-selling cars, the Murano, and is conducting an internet survey to determine whether the design change would affect customer perception of the car...
-
The following are several accounts of the Graf Corporation at the end of 2007: Account Credit Balance Common stock , $10 par ............ $ 47,100 Bonds payable (due 2014) ........... 126,000 Premium...
-
(a) What products can be considered substitutes/competitors of this product? Please describe how the brand should position itself against competitors in the market (hint: students can use a...
-
Dexter Industries purchased packaging equipment on January 8 for $72,000. The equipment was expected to have a useful life of three years, or 18,000 operating hours, and a residual value of $4,500....
-
Should we try to Make More Money? To say that the airline industry has experienced some struggles would be a huge understatement. Faced with fears over terrorist attacks and sharp rises in the price...
-
How can you ensure that resource acquisition accordance with organisational requirements? Explain
-
In the figure below, two disks made of paper, with a distance d between them, are attached to a common shaft and rotate with an angular speed W . A bullet is fired towards the disks with speed v ....
-
What roles are played by the shareholders, upper management, and the board of directors in the strategic implementation process? Explain
-
What are the key challenges that face e-business during the strategy formulation process? Explain
-
(a) (b) Agatha and Beatrice set off from the same point at the same time. Agatha walks at a bearing of 120 at 5kmph. Beatrice walks at a bearing of 200 at a speed of 4. 8kmph. Calculate the distance...
-
Technical Analysis: Interest Rate Risk Management at Union Carbide Corporation Please provide me excel based analysis
-
How does the organizational structure of an MNC influence its strategy implementation?
-
Iberlin and others subscribed to the services of TCI Cablevision of Wyoming, which imposed a $2 late charge on any bill not paid when due. Iberlin brought suit against the company, claiming the late...
-
Can check cashing companies be holders in due course? What arguments can you make for and against their holder-in-due-course status? [Dal-Tile Corp. v Cash N Go, 487 SE2d 529 (Ga App)]
-
Cronin, an employee of Epicycle, cashed his final paycheck at Money Mart Check Cashing Center. Epicycle had issued a stop payment order on the check. Money Mart deposited the check through normal...
-
Financial items for George Karatsis IT Services on 31 May 2024 are presented below in alphabetical order. Required (a) Prepare a statement of financial position similar to the one in figure 2.2. (b)...
-
During the year ended 30 June 2024, Skilled Services, a provider of temporary secretary personnel, had collected receipts from clients for a total value of \($250000.\) Wages of \($136000\) had been...
-
Rebecca Tallance operates a rent a dress business from her home. She keeps her accounting records for business activities completely separate from her records for personal activities. At 30 June...
Study smarter with the SolutionInn App