Re: Your opinion ?
>-- Again I ask:
>-- 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?
Ok, so you didn't get any responses the first time....
>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.
The only thing that would be confusing would be "What month is it now?".
Without being told how to tell that, the coders will have to come up with
their own ways. (Input prompt, seperate data file that holds the info,
getting the current date from the computer, etc. The language wasn't
specified, but in Eu it would be easy to get the date.
|
Not Categorized, Please Help
|
|