Copyright © 2005 Suradet Jitprapaikulsarn
สงวนลิขสิทธิ์ 2548 สุรเดช จิตประไพกุลศาล

Homework 4 (Due Monday 4 July 2548)

1. Write the data definition of a rectangle.
2. Write the function to calculate the area of  the rectangle.
3. Write the function to calculate the perimeter of the rectangle.
4. Write the function to transpose the rectangle.