write a java program to find the circumference of a circle....
Answers
Answered by
14
import java.util.Scanner;
public class Area
{
public static void main(String[ ] args)
{
int r;
double pi = 3.14, area;
Scanner s = new Scanner(System.in);
System.out.print("Enter radius of circle:");
r = s.nextInt();
area = pi * r * r;
System.out.println("Area of circle:"+area);
}
}
Hope it will help you.
Please mark it as brainliest!!
Similar questions
Computer Science,
6 months ago
Physics,
6 months ago
Computer Science,
1 year ago
Science,
1 year ago