Question: Hi i need this assigment for C ++ programming and im using a MacOs system i would also like a explaination on the answer, thank
Submit the cpp source code file(s) on Ecampus. Each cpp program should have comments at the top that include your name, homework number, and what the program does, (1) Write a program that prints the ASCII Art elephant shown below. (2) Write a program that prompts the user to enter three numbers, then prints the sum and product of these numbers. (3) Write a program that prompts the user to enter a radius. Using this radius, print the area of a circle, volume of a sphere, and surface are of a sphere. It is ok to combine these 3 problems into a single .cpp program. This .cpp file must be complable - only one main( function. Below is a sample output for this homework assignment. ILsegras 1 contrut: Rteosan 2 eutrout: Thia program calculates the aun and product of three numbers. Enter the flrat number: 2.1 Enter the second nurber: 3 Enter the third number: 5.5 The nun of these three numbero is 10.6 the product of these chree numbera is 34.65 zrogran 3 ourput This caleutates the area of a cirele, volume of a aphere, and aurface area of a sphere. Bater a radiun in inches: 3.3 Area of a cirolo in 34.21 square inches Volune of a sphere is 150.53 cubio inches Furtace ared of a ephere is 136.85 square inches
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
