Write a program to calculate area of a sphere with radius 7 cm | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a program to calculate area of a sphere with radius 7 cm

6th Jul 2019, 2:15 PM
Shagufta Shaheen
Shagufta Shaheen - avatar
3 Answers
+ 2
If you mean the surface area, the formula is 4*pi*r^2
6th Jul 2019, 2:26 PM
Drax
Drax - avatar
+ 1
Hi.. surface area of a sphere is - 4πr2 = 4*3.14*r*r - implement above formula in language u Want to... Hope this helps...!!!
6th Jul 2019, 2:29 PM
Kuri
Kuri - avatar
0
I don't really get your question. A sphere is a 3 dimensional object, but the area is a property of 2 dimensional objects. Also, it probably isn't that difficult, if you know the formula.
6th Jul 2019, 2:21 PM
Airree
Airree - avatar