Your opinion ?

new topic     » topic index » view thread      » older message » newer message

I am working on a set of assignments for a programming class, and I would
appreciate some feedback from you Euphorians.
Here's one. Do you think it is stated clearly enough for a student to
be able to write a successful program? Did I leave out any crucial
info?
Thanks,
Irv

Your client is a magazine publisher. She has a file of subscription info,
formatted as follows, one record on each line, fixed length.
219434 08 1997 5 ...name, address, etc follows
493952 01 1999 1
482995 02 1998 2
938295 05 1995 1
etc.
^acct  ^mo ^yr ^length
where acct is the subscriber's account number,
mo and yr are the month and year the subscription started,
length is the number of years the subscriber paid for.
The actual file is about 10 megs. in size.

Your program will read the subscription file each month,
and create two new files:
1. A list of subscribers which expire this month, or next month,
so that the publisher can send a letter asking for a renewal.
2. A list of subscribers who should receive a magazine this month.
The entire data line should be copied into the appropriate file.

---

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu