Write a program to find the area of a circle. Area =3.14r*r
i have find some geinus here
Answers
Answered by
1
Answer:
Program:-
import java.util.*;
public class Circle
{
public static void main(String args[ ])
{
Scanner in=new Scanner(System.in);
int r;
double ar=0.0;
System.out.println("Enter the radius of square");
r=in.nextInt();
ar=3.14*r*r;
System.out.println("The area of circle="+ar);
}
}
Similar questions