C++ Coding HW
Write a program to read in a radius from the keyboard, and then calculate the volume (4/3PIr3) and surface area of a sphere (4PIr2). Finally print the radius, surface area, and volume four times (all in the same program); each set of printouts should have one of the four different formats.
No formatting, Fixed, Fixed with 3 decimal psotions, Scientific with 4 decimal places:
Radius, Surface Area, Volume
Make sure to print out proper descriptive information. Do not print just the numbers; give some documentation/description on the screen so the user can understand what they are reading. It is always a good idea to explain what data you are sending to the screen.
Note: Make sure to print all three values with no formatting first, then all three values with fixed point, then all three values with fixed point with three decimal places, then all three values with scientific notation with four decimal places.
Run: You will need to run the program twice. The first time input the radius as 10. The second time input the radius as 6.2