Basic C++ Program

Закрито Опубліковано %project.relative_time Оплачується при отриманні
Закрито Оплачується при отриманні

+ Write a program that places a cat into a pen, which can hold up to seven cats, each time a key (e.g. Enter key) is pressed.

+ Each cat is an object instantiated from class Cat??"defined in file cats.h

+ Each cat object, when dynamically instantiated, randomly choose a fur color (black, gray, or brown), and eye color (green, blue, or brown) and a hair length (short or long).

+ Provide “get?? and “set?? methods for these attributes,

+ Carefully consider which “get?? and “set?? methods should be public and which should be private??"all member functions are defined in [login to view URL]

Certain combinations of cats result in fights breaking out:

+ if the number of gray cats exceeds the number of brown cats, the gray cats fight with the brown cats.

+ A fight also breaks out if at least one black cat with green eyes and at least one black cat with blue eyes are in the pen with exactly one black cat with brown eyes.

Write a nonmember function named "check" that determines if a fight has broken out.

Hints:

+ Read the problem description carefully.

+ Recall that if the number of gray cats exceeds the number of brow cats, the gray cats fight with brown cats.

+ The cats do not fight if the number of brown cats exceeds the number of gray cats.

+ Also notes that black cats fight if exactly one black cat with brown eyes is put in the pen with at least one black cat with green eyes and at least one black cat with blue eyes.

+ If the pen contains more than one black cat with brown eyes, the black cats will not fight.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

I will need this C++ program coded using Microsoft Visual C++ 6.0 or equivalent.

I am very behind in my C++ Class. I need this program completed no later than Wednesday 21st of July. Please send the program to me as soon as possible. THANK YOU!

Техніка MySQL PHP Управління проектом Архітектура ПЗ Тестування ПЗ

ID Проекту: #3274145

Про проект

23 заявок(-ки) Дистанційний проект Остання активність Jul 29, 2004

23 фрілансерів(-и) готові виконати цю роботу у середньому за $23

mihaiscortaru

See private message.

$42.46 USD за 7 дні(-в)
(158 відгуків(и))
6.0
bogdanstan

See private message.

$11.05 USD за 7 дні(-в)
(195 відгуків(и))
5.7
lostbard

See private message.

$17 USD за 7 дні(-в)
(220 відгуків(и))
5.1
bramp

See private message.

$34 USD за 7 дні(-в)
(84 відгуків(и))
5.1
unamigo

See private message.

$34 USD за 7 дні(-в)
(51 відгуків(и))
5.3
walgarvw

See private message.

$11.05 USD за 7 дні(-в)
(16 відгуків(и))
4.6
gworroll

See private message.

$25.5 USD за 7 дні(-в)
(41 відгуків(и))
3.7
itexpertgroupsl

See private message.

$42.5 USD за 7 дні(-в)
(18 відгуків(и))
4.1
oleksavw

See private message.

$25.5 USD за 7 дні(-в)
(1 відгук)
3.9
thextvw

See private message.

$8.5 USD за 7 дні(-в)
(42 відгуків(и))
3.4
abirovw

See private message.

$10.2 USD за 7 дні(-в)
(29 відгуків(и))
3.5
magicartsvw

See private message.

$21.25 USD за 7 дні(-в)
(16 відгуків(и))
3.4
TheHero

See private message.

$34 USD за 7 дні(-в)
(13 відгуків(и))
2.7
allencoliban

See private message.

$42.5 USD за 7 дні(-в)
(2 відгуків(и))
1.7
kataracta

See private message.

$17 USD за 7 дні(-в)
(5 відгуків(и))
1.5
RoyLong

See private message.

$8.5 USD за 7 дні(-в)
(0 відгуків(и))
0.0
qaisarkiani

See private message.

$21.25 USD за 7 дні(-в)
(1 відгук)
0.0
lunivw

See private message.

$4.25 USD за 7 дні(-в)
(0 відгуків(и))
0.0
devdevilvw

See private message.

$25.5 USD за 7 дні(-в)
(0 відгуків(и))
0.0
telavian

See private message.

$29.75 USD за 7 дні(-в)
(0 відгуків(и))
0.0