CS 0007 Assignment 1 – Getting to know PCPIX/PC


Objective:


Write a program that will take the length of two sides of a rectangle from the user and calculate the perimeter and the area (which will be the output). Make sure you handle illegal inputs (0 or negative values) – if the user enters an illegal value, repeat prompt or halt the program.

Due Date:

Monday, October 11, 1999.

What To Turn In:

Turn in a 3.5" floppy disk and a printout containing your source code in lecture.