# Project 16

procedure functions (75 points)

• Your main program should contain a posttest loop which calls three procedure funtions - one which gets the dimensions of the trapezoid, another which determines the area of the trapezoid, and a third which will output the final report. If the user does not wish to determine the area of another trapezoid, then exit the loop.
• Make sure that you conserve memory by passing your aurguments to the functions wisely. Some aurguments will be passed by value and some by address.
• Allow the dimensions of the trapezoid to be entered in as floats. Do not store the dimensions into an array. Make sure you indicate which set of trapezoid dimensions are being entered.
• The area of any trapezoid can be determined with the following formula :
```Area of Trapezoid

Area = average of the bases times the height.```
• The report should displayed the dimensions and area to four significant digits.
• Make sure your program can display the sample output below.
• Your code must be well documented. Also include your name, date, project number and a breif description of the program.

```
Sample output

FIND THE AREA OF A TRAPEZOID
____________________________

Entering Dimensions For Trapezoid : 1
======================================
Please enter the first base : 3.5
Please enter the second base : 6.3
Please enter the height : 7.5

======================================
Trapezoid Dimensions & Area Report

Base 1     Base 2     Height     Area
--------------------------------------
3.500      6.300      7.500      36.75
======================================

Again? ( Y / N ) : y

Clear Screen Here

FIND THE AREA OF A TRAPEZOID
____________________________

Entering Dimensions For Trapezoid : 2
======================================
Please enter the first base : 5
Please enter the second base : 8
Please enter the height : 10

======================================
Trapezoid Dimensions & Area Report

Base 1     Base 2     Height     Area
--------------------------------------
5.000      8.000      10.00      65.00
======================================

Again? ( Y / N ) : y

Clear Screen Here

FIND THE AREA OF A TRAPEZOID
____________________________

Entering Dimensions For Trapezoid : 3
======================================
Please enter the first base : 24.3
Please enter the second base : 19.35
Please enter the height : 20

======================================
Trapezoid Dimensions & Area Report

Base 1     Base 2     Height     Area
--------------------------------------
24.30      19.35      20.00      436.5
======================================

Again? ( Y / N ) : n

End of Program```