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).
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).