THE EXERCISE OF THE GUYS GUYS HAS BEEN MOVED TO THE MENU "EXERCISE OF Teacher"

Globular

Threads: Write a program to the radius of the sphere, calculate and print area, volume of the sphere which. Know the formula for calculating the area and volume respectively: S = 4πR^2 và V = (4/3)πR^3. Lay π = 3.14
Input: Some of the radius of the sphere.
Output: Two numbers separated by a space is the area and volume of a sphere, Results rounded to 2 decimal.

For example:

input: 
4
output:
200.96 267.95

You are not logged in? Log in to Submit Now!

16 Comments

Add a Comment