C ++ program to calculate the surface area, volume, or cross-sectional area of a sphere using functions, nested decisions, and sentinel loops.
$5-10 USD
処理中
投稿日: 約22年前
$5-10 USD
完了時にお支払い
To use functions, nested decisions, and sentinel loops. Write a C++ program to calculate the surface area, volume, or cross-sectional area of a spgere. Use functuins to calculate each figure. The input of the program will be a letter. "V" = volume, "A" the surface area, and "X" the cross sectional area. The second part of the input will be a single (float) number representing the radius. For each input just calculate what is called for, not all three answeres. Use functions for each calculation and nested decisions to control your actions. The output should have appropriate lables and use format to control the appearance. Ther will be two output argument, a character to indicate the action and a float to represent the radius.
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
C ++