write a program in Java to find the area and circumference of a circle where the radius is 12 cm
Share
write a program in Java to find the area and circumference of a circle where the radius is 12 cm
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer: public class Circle {
public static void main(Sting[] args) {
int result = 0;
int r = 12;
result = 2*22/7*r;
System.out.println(result);
}
}