I am a beginner so please explain thoroughly so I can gain your knowledge.

Quote Originally Posted by Matticus View Post
Just turn each variable for user input into an array of 5 (the "name" variable, since it contains strings, will have to be a multi-dimensional array).
I have not been able to find a tutorial on this that explains it.
I believe I get where memcpy is going though.

Quote Originally Posted by Matticus View Post
I'd also advise that you do all the user input in one "for()" loop, and the calculating/printing in another, so that you meet the requirements of your assignment ("After the data is loaded, it will then be processed and output generated.").
There are two different equations for which i need. One has to be where the hours worked are under 40 and another which is over 40 which is differed to as overtime.

Quote Originally Posted by Matticus View Post
You should also make your variables have more meaningful names, so the program is easier to read and you wouldn't need comments above them describing their function.
Then what name should I put for the variables.

Quote Originally Posted by Matticus View Post
Did you teacher instruct you to use "fflush(stdin)"? Because using "fflush()" to clear the input stream is undefined. See Why fflush(stdin) is wrong.
Yes he instructed us to use fflush. I don't know how to flush the input buffer at all (its a bit confusing an explanation would be great).

Quote Originally Posted by Matticus View Post
Also, "conio.h" is not a standard 'C' library. You only seem to be using it for a "getch()" at the end of the problem. Better to use the standard "getchar()."
I tried getchar and it won't work.