Computer Science, asked by jakkaraju3577, 11 months ago

Write algorithms to calculate the area of a circle

Answers

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