Project 16

procedure functions (75 points)


Area of Trapezoid

Area = average of the bases times the height.



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