Sign in with
Sign up | Sign in
Your question
Solved

I need a help in solving c programs

Last response: in Applications
Share
December 6, 2013 1:07:53 AM

Hi ..
I need someone to solve this question please ..

Write a c program that promote user to enter employee Number and then read the employee information from a file "input.txt" (salary, overtime, tax). The program should calculate the Employee final salary and then write employee Number and final salary into another file “output.txt”. The program should handle the case where the employee Number is not available in the input.txt file. In this case just print to the screen “Employee Not found”.
Hint: check if the file is open or not. Final salary (salary+overtime-tax).

More about : solving programs

Best solution

December 6, 2013 2:40:44 AM

"Write a xxx program..." always indicates homework.

I'm sure that people here would be glad to give you hints and help about any problems that you are having, but it is incumbent upon you to at least make the effort of trying to solve the problem. As it is, you have just asked us to do that for you; that's just not going to happen. If you rely on other people to do the work for you do you think that you deserve to pass the course that you are on?
Share
December 6, 2013 8:28:38 AM

Ijack said:
"Write a xxx program..." always indicates homework.

I'm sure that people here would be glad to give you hints and help about any problems that you are having, but it is incumbent upon you to at least make the effort of trying to solve the problem. As it is, you have just asked us to do that for you; that's just not going to happen. If you rely on other people to do the work for you do you think that you deserve to pass the course that you are on?


who said to u that .. "I didn't do any efforts to solve the problem" .I do not know why you speak sharply. If you have certain rules to help people. Others may not have same your rules and therefore they will assist me in solving the question but actually I have finished it so I do not need a help from you.
Thank u:kaola: 
m
0
l
December 6, 2013 9:37:58 AM

Yes, I do have rules when helping with homework questions.

Rule 1. When a poster demands an answer without giving any code or other indication that they have attempted the question then they do not deserve an answer.

That's it.

I'm glad that you've managed to solve the problem; it seems you were a little premature in asking for help.
m
0
l
!