Question: This coding is for C++ 1. Write a program that computes the volume of a sphere with radius 10. Define a symbolic constant called PI
This coding is for C++
1. Write a program that computes the volume of a sphere with radius 10.
Define a symbolic constant called PI with the value of 3.14.
Define a symbolic constant called FOUR with the value of 4.
Define a symbolic constant called THREE with the value of 3.
Define a variable called radius with the value of 10.
Define a variable called volume and set it equal to FOUR/THREE * PI * radius * radius * radius
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
