write a java program to calculate and display area of a circle where radius is 3.3cm
Answers
Answered by
1
Answer:
Class A {
public static void main(string args[]) {
float radius = 3.3;
float area = null;
area = 22/7*math.pow(radius,2);
system.out.println(" " + area);
}
}
Explanation:
Answered by
1
Answer:-
This is the program that will calculate the area of circle with radius 3.3cm.
class Area
{
public static void main()
{
float rad=3.3,a=0;
a=3.14*rad*rad;
System.out.println("Area is: "+a);
}
}
Similar questions
World Languages,
4 months ago
Physics,
4 months ago
Social Sciences,
9 months ago
English,
9 months ago
English,
1 year ago
Physics,
1 year ago
Geography,
1 year ago