Boost logo

Boost :

From: mohamed fadl (mfadl2_at_[hidden])
Date: 2001-10-09 23:51:20


I can't compile this proplem :

*********************************************
The local vet has installed a new computer system and
wants to keep a record
of all the animals which are treated. Design and
implement a program that
creates a data file which stores an ID number, a short
description of the
animal treated, the time taken (in minutes) for the
treatment and the amount
charged. The program is to be interactive. The vet
will periodically type in
data on the keyboard and the program will then store
the data in a file for
future reference.

For the purposes of this exercise, use the filename
'PETS.DAT'. The minimum
cost of a consultation is $20.00 and the maximum is
RM500.00.
Assume all other fields are valid. The format of the
resultant data file
should look something like this:

1 short haired dog 25 40.50
2 siamese cat 15 28.90
3 monty python 75 180.00
4 pet mice 15 29.99

Field width estimates are left to the program
designer. You are required
to: -

·Analyse and summarise the requirements of the problem
in point form.
·Design a solution using an appropriate design tool
eg. Pseudocode.
Implement the design using Microsoft Visual C++.

Assignment standards: All summaries, designs,
programs listings etc are to
be securely bound. Program code: -
· Must be correctly structured.
· Use correct syntax.
· Contain appropriate documentation.
· Contain suitable error handling, and,
· Meet all program specifications.
*******************************************************

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk