write a program in Java to find the volume of a sphere
Answers
Answered by
2
Answer:
write a program in Java to find the volume of a sphere
Results in English
जावा में एक प्रोग्राम लिखने के एक क्षेत्र की मात्रा को खोजने के लिए
हिन्दी में नतीजे
Search Results
Featured snippet from the web
Java Program
public class sphere{
public static void main(String args[])
{
int radius=48;
double pie=3.14285714286;
double volume=(4.0/3.0)*pie*(radius*radius*radius);
System.out.println("Volume of the sphere="+volume);
Explanation:
I hope it is helpful for you
Similar questions
Hindi,
3 months ago
Social Sciences,
3 months ago
Math,
3 months ago
Social Sciences,
7 months ago
English,
7 months ago
Math,
11 months ago
Biology,
11 months ago