Write a program to find the area of a Hmcircle by its given radius
Answers
Answered by
0
Answer:
import java.util.*;
class Circle
{
public static void main (String args[]) ;
{
Scanner sc=new Scanner(System.in);
double radius;
System.out.println("Enter Radius");
radius= sc.nextDouble();
area= (22*radius*radius)/7;
System.out.println("Area="+area);
}
}
Explanation:
hope it helps
Similar questions