Computer Science, asked by abhishek112416, 10 months ago

write a java program to enter the area of circle and find its radius. by using bufferedreader or scanner ​

Answers

Answered by daydreamer25
1

Answer:

  • Hey there...here I present u the answer using Scanner.

import java.util.*;

class area

{

public static void main()

{

Scanner in=new Scanner (System.in);

double A, r=0;

System.out.println("Enter area of radius");

A=in.nextDouble();

r=Math.sqrt((A/3.14));

System.out.println("radius of circle="+r);

}

}

  • hope it will help u.!!
Similar questions