Program to find the area and circumference of circle(Take radius as input).
Answers
Answered by
0
Answer:
154 square cm, 44 cm .let radius of circle is 7cm.
Answered by
1
Program: {JAVA}
import java.util.*;
public class Brainly
{
static void main()
{
Scanner sc=new Scanner(System.in);
float radius,area,circumference;
System.out.println("Enter radius of a circle:");
radius=sc.nextFloat();
area=(float)22/7*radius*radius;
circumference=2*(float)22/7*radius;
System.out.println("Area="+area);
System.out.println("Circumference="+circumference);
}
}
Similar questions
Math,
1 month ago
Physics,
1 month ago
Math,
1 month ago
Political Science,
2 months ago
Math,
2 months ago
Computer Science,
9 months ago
English,
9 months ago
English,
9 months ago