Computer Science, asked by safrin2138, 20 days ago

Write a program to find the area of a Hmcircle by its given radius

Answers

Answered by mdkaif49811
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