Computer Science, asked by gurleen778268, 6 months ago


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 vanshcmehta
1

Answer:

the variable radius is of double data type and also area

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