Write algorithms to calculate the area of a circle
Answers
Answered by
1
Answer:
Scanner sc=new Scanner(System.in);
r=sc.nextInt();
while(r>0)
{
double area=(22/7)*r*r;
System.out.println("Area of Circle="+area);
}
Similar questions