write a program to calculate perimeter of a circle whose radius
Answers
Answered by
1
Answer:
Okay here's the program...
Explanation:
r=int(input('enter the radius of circle:'))
perimeter_of_circle=2*(22/7)*r
print(perimeter_of_circle)
Hope it helps <3
Answered by
0
Answer:
public class PerimeterCircle
{
public void calcPerim( )
{
double radius, 7.5 ;
double Perimeter = 2 * 3.14159 * radius;
System.out.println("Perimeter of Circle :" + Perimeter) ;
}
}
Java:
Java is a popular third-generation programming language, which can be used to do any of the thousands of things that a computer software can do. With the features it offers, Java has become the language of choice for internet and intranet applications.
Similar questions