
October 19th, 2012, 02:52 PM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 1
Time spent in forums: 1 h 10 m 14 sec
Reputation Power: 0
|
|
|
Help writing geometry calculator with python
I'm completely new and unfamiliar with programming, but I need to write a python program with modules that displays a menu:
Geometry Calculator
1. Area of a circle
2. Area of a rectangle
3. Area of a triangle
4. Exit program
if 1 (area of circle) is selected, the program should ask for the radius of the circle & then calculate the area (using the formula area = pi*r^2) and display the result, same for the other options but for their respective shapes, and end the program if the number 4 is entered.
|