L
Les Coover
The following is an example of input:
1 Les
L 01/02/04 2300 06:00AM SW Nashville
R 01/06/04 2400 10:00PM SW Kansas City
L 01/15/04 2440 10:00AM NW Minneapolis
R 01/15/04 3440 05:00PM NW Kansas City
2 Jen
L 01/02/04 2300 0600AM SW Nashville
R 01/06/04 2400 10:00PM SW Kansas City
Each employee #, Name can have 0 to many associated flights.
How can I build a C program to use scanf to collect the data
as input and output it to a text file? I need to be able to
display prompts using printf but I don't want the prompts
to appear in my text file.
Any help greatly appreciated.
Les
1 Les
L 01/02/04 2300 06:00AM SW Nashville
R 01/06/04 2400 10:00PM SW Kansas City
L 01/15/04 2440 10:00AM NW Minneapolis
R 01/15/04 3440 05:00PM NW Kansas City
2 Jen
L 01/02/04 2300 0600AM SW Nashville
R 01/06/04 2400 10:00PM SW Kansas City
Each employee #, Name can have 0 to many associated flights.
How can I build a C program to use scanf to collect the data
as input and output it to a text file? I need to be able to
display prompts using printf but I don't want the prompts
to appear in my text file.
Any help greatly appreciated.
Les