Creating a class rectangle using a header file!

Completed Posted Apr 3, 2003 Paid on delivery
Completed Paid on delivery

Task: Create a class Rectangle. Place the class in a .h file. This class should have the private member attributes: · Length · Width The class should have multiple constructors to handle the following: · Default constructor, defaults length and width to 1 · Constructor to set the length and width upon the instantiation of the class The class should also have the following methods (functions): · Display Area · Display Perimeter · Set Length · Set Width · Get Length · Get Width Implement the class in a .cpp file and write a simple driver file (.cpp) that demonstrates that all of the above is working correctly (i.e. make objects with and without data in the constructor, and call each method of the class). Instantiate an object with 4.5 and 8.9 as the length and width. Instantiate a object and allow the length and width to be set by user input. Allow the user to enter a new length and width until the user enters a 0 for length. For each object show the length, width, area and perimeter of the rectangle. The set functions should verify that the length or width are each larger than 0 and less than 20.0. If the width is not in that range, then it should default to 1. If the is not in that range, then it should default to 1. Below is an exact sample on how the program should work!

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

Windows Me Microsoft Office 2000 C++ Visual Studio

C Programming Engineering MySQL PHP Software Architecture Software Testing

Project ID: #2922026

About the project

55 proposals Remote project Active Apr 7, 2003

Awarded to:

szaszalexmcpd

See private message.

$12 USD in 14 days
(55 Reviews)
4.4

55 freelancers are bidding on average $10 for this job

klickers

See private message.

$3.4 USD in 14 days
(123 Reviews)
6.7
DFlor

See private message.

$17 USD in 14 days
(25 Reviews)
6.2
finecodervw

See private message.

$8.5 USD in 14 days
(148 Reviews)
6.1
idleswell

See private message.

$8.5 USD in 14 days
(175 Reviews)
5.9
DanD

See private message.

$12.75 USD in 14 days
(212 Reviews)
5.8
ExpertFromInd

See private message.

$8.5 USD in 14 days
(48 Reviews)
5.4
sanatanvw

See private message.

$8.5 USD in 14 days
(72 Reviews)
5.5
bokbokan

See private message.

$8.5 USD in 14 days
(78 Reviews)
5.2
petarsvw

See private message.

$4.25 USD in 14 days
(26 Reviews)
5.1
ingeniadesign

See private message.

$17 USD in 14 days
(53 Reviews)
5.1
srazakvw

See private message.

$8.5 USD in 14 days
(35 Reviews)
5.0
timk98

See private message.

$8.5 USD in 14 days
(54 Reviews)
4.7
thecodebuyer

See private message.

$17 USD in 14 days
(24 Reviews)
4.6
georgeadria

See private message.

$6.8 USD in 14 days
(6 Reviews)
4.5
anilmauryavw

See private message.

$14.45 USD in 14 days
(16 Reviews)
4.3
robxvw

See private message.

$4.25 USD in 14 days
(18 Reviews)
4.4
emesevw

See private message.

$6.8 USD in 14 days
(111 Reviews)
4.4
bytekeeper

See private message.

$25.5 USD in 14 days
(10 Reviews)
3.6
cossimin

See private message.

$8.5 USD in 14 days
(18 Reviews)
3.5
folkforms

See private message.

$4.25 USD in 14 days
(19 Reviews)
3.5