Computer Science, asked by sanghsis, 8 months ago

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 abinshajiabin2006
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