Required Program header information
red information is a program specific example and should not be
present in other programs
Programmer:
Course:
Date Due:
Language:
Compiler:
Source Filename:
Executable Filename:
Professor:
PURPOSE: To find the area of multiple trapezoids given the lengths
of the
parallel sides and the height of each
INPUT: Multiple sets of 3 numbers at a time (on a line).
Numbers represent the lengths of the 2
parallel sides of a
trapezoid
and its height
Zeroes will signal end of data
OUTPUT: Labeled
information about each trapezoid: base1, base2, height,
area
MODIFICATIONS:
GENERAL COMMENTS ABOUT THE PROGRAM OR THE LANGUAGE:
Numbers
are assumed to be positive
No error checking is performed
This program uses the fixed column format required by early FORTRAN