Write a program to find the area of a circle. import java.util.Scanner;
public class Circle_Area
{
public static void main(String args[])
{
Scanner ar=new Scanner(System.in);
double radius,area;
System.out.println("Enter radius\n");
radius=ar.nextDouble();
area=3.14*radius* radius;
System.out.println(“Area of a Circle is =" + area);
}
}
pls tell variable description of this program..
Answers
Answered by
1
Answer:
the variable radius is of double data type and also area
Answered by
0
Answer:
to be a good day at work and I have to go to the gym and then I will be there for you to
Similar questions