Write Program Defines Named Constant Pi Const Double Pi314159 Stores Value Tt Program Use Q37117442

Write a program that defines the named constant PI, const double PI3.14159;, which stores the value of Tt. The program shouldWrite a program that defines the named constant PI, const double PI3.14159;, which stores the value of Tt. The program should use PI and the functions listed in Table 6-1 to accomplish the following Output the value of VT. a. b Prompt the user to input the value ofa double variable r,which stores the radius of a sphere. The program then outputs the following i. The value of 4.0Tr2, which is the surface area of the sphere.

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.