Program to calculate and display area of a circle with radius 6 cm.
Answers
Answered by
2
Class Chandan
{
public static void main()
{
double radius=6.0;
double area=3.14×6.0×6.0;
System. out.println("area="+area+"cm²");
}
}
{
public static void main()
{
double radius=6.0;
double area=3.14×6.0×6.0;
System. out.println("area="+area+"cm²");
}
}
Similar questions