Write a program that computes the volume of a sphere with a radius, using the formula v=(4.0/3.0)*r*r*r*3.141592 . Remember to keep the fraction 4.0/3.0 but not 4/3
The program should output 2 digits after decimal point.
寫一個計算球形體積程式,用這個公式v=(4.0/3.0)*r*r*r*3.141592。
分數寫法4.0/3.而不是4/3
Example input:
10
Example output:
4188.79