Write a java program to calculate area and circumference of a circle. There are two ways to do this: (1) with user
interaction: Program will prompt user to enter the radius of the circle.
Answers
Answered by
1
Answer:
Java Program to Calculate and Display Area of a Circle
public class Area.
int r;
double pi = 3.14, area;
Scanner s = new Scanner(System.
System. out. print("Enter radius of circle:");
r = s. nextInt();
area = pi * r * r;
System. out. println("Area of circle:"+area);
Explanation:
hope it is helpful for you
please mark as brain list✌️✌️✌️✌️✌️
Answered by
2
Answer:
I don't know the answer
I am answering this question for points
Similar questions