Write a program that will ask the user to input a radius of the circle and then, the program will compute the area and circumference of the circle and display the result on the screen.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
# Jake R. Pomperada, MAED-IT, MIT
# March 20, 2021 10:51 PM Saturday
# Bacolod City, Negros Occidental
print("@=============================================@")
print(" Area of the Circle Solver in Python ")
print("@==============================================@")
print("")
PI = 3.14
radius = float(input('Enter the radius of the circle : '))
area = PI * radius * radius
circumference = 2 * PI * radius
print("")
print("Area Of a Circle = %.2f" %area)
print("Circumference Of a Circle = %.2f" %circumference)
print("")
print("===== THE END OF PROGRAM ===== ")
No comments:
Post a Comment