Hello guys, I'm new to programming and found this site to be helpful. I'm need a little help understanding something about C which i can't seem to find the right answer. This is not write a code for my homework but it is a guide me with my homework. So my assignment is

Write a program to read the employee file and create a payroll register. The register will contain the following data:

A. Employee number (print left justified)
B. Department
C. Pay rate
D. Exempt
E. Hours worked
F. Base pay (pay rate * hours worked)

Employee No. Department Pay rate Exempt Hours worked
0101 41 8.11 Y 49
0722 32 7.22 N 40
1273 23 5.43 Y 39
2584 14 6.74 N 45

What i don't understand is how i write that in note pad so C would read it. For example I write a code to tell the user to enter the employee number
printf("Enter employee number\n");
what is the next step to grab the department number and pay rate ext. form notepad. Thats the part that confuses me.