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);
}
}
}
please can anyone tell is any error there in this program
Answers
Answered by
6
Answer:
(STRING[] ARGS
This was the mistake
please mark me as brainleast
Similar questions