Write a program to calculate and display the radius of a circle by taking radius as an input.
formula r=Math.sqrt(7*area/22)
Answers
Answered by
1
Answer:
Explanation:
import java.util.*;
public class Brainly
{
\quad public static void main (String args[])
\quad \; {
\quad \; Scanner sc= new Scanner (System.in);
\quad \; System.out.println("enter area of circle");
\quad \; double area = sc.nextDouble( );
\quad \; double radius = Math.sqrt(7 * area/22);
\quad \; System.out.println("Radius of circle =" + radius);
\quad }
}
Similar questions
Science,
3 months ago
Social Sciences,
3 months ago
Math,
3 months ago
Biology,
8 months ago
Social Sciences,
8 months ago
Geography,
1 year ago
Math,
1 year ago