Computer Science, asked by mrjatt9095, 2 months ago

import java.util;
class area
{
public static void main (String Args[])
{
Scanner Sc= new Scanner(System.in);
int r,h;
double a1,a2;
Sphere = ("22/7*Math.pow"(r,2));
Cylinder = ("2*22/7*Math.pow"(r,2)*h);
System.out.println("Area of the sphere is " + area);
System.out.println("Area of the cylinder is " + area);
}
}
}

Answers

Answered by anshuman3064
0

I will try but this question is out of my mind

Similar questions