Wednesday, February 07, 2007

Fruitful Functions

You need to create a program that calculates the Area of any given shape.

The program should give the user a list of possible shapes:
Rectangle, Parallelogram, Triangle, Circle, Square, and Trapezoid.

Then you will need to ask for the dimensions of the figure and calculate the area.

You should create functions for each of the different shapes. These functions should have parameters for each of the dimensions of that shape.

We will be talking about the process for each of these things at the beginning of class.

No comments:

The OFFICIAL Dilbert Widget