Computer Science, asked by aasthamishra19, 2 months ago

Program to find the area and circumference of circle(Take radius as input).

Answers

Answered by syamalghosh606
0

Answer:

154 square cm, 44 cm .let radius of circle is 7cm.

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