< previous page page_555 next page >

Page 555
RectArea (In: leftEdge, width) Out: Function value                    Level 1
Return Funct(leftEdge + width/2.0) * width

Get Data (Out: low, high, divisions)
Prompt for low and high
Read low, high
Prompt for divisions
Read divisions
Echo-print input data

Funct (In: x) Out: Function value                    Level 2
Return × * × * × *

Module Structure Chart:
0555-01.gif
The Area program implements our design.

 
< previous page page_555 next page >