Computer Science Homework Help

University of Houston Victoria Rectangle Program Computer Science Project

 

Create a class Rectangle. The class has attributes length and width, each of which defaults to 1. It has member functions that calculate the perimeter and the area of the rectangle. It has set and get functions for both length and width. The set functions should verify that length and width are each floating-point numbers larger than 0.0 and less than 20.0.

Grading for Each assignments is Based on following requirements clearly stated as follow: 
a.  Top of each Program you have your Name :  Indicated that this is your work.           (1 point )
b.  Next line is indicating the date you are submitting your program.                               (1 point )
c.  Next line you will write a brief explanation for what this program intend to do.            (1 point )
d. Use of sufficient comments to clarify use of syntax. (1 point)
e. Use of meaningful variable (identifier) in your program (1 point)
f. Separate input, process, and output instructions by a comment (In-Process-Out) (5 point)
g. Working program without any error (9 points)
h. Turn in on time (1 point deducted for each day late submission) (1 point)

Submit only .cpp (source code of your program).
Do not submit zip file .sln file, input and output file