Introduction - If you have any usage issues, please Google them yourself
Calculate the salary of the employee by hours and save it as records, output the infomations, the total salary is calculated by the total hours and salary per hour.
Question:
1. Write a program to read FIVE (5) employees’ records from the keyboard that consists of the following data employeeNum (an integer), employeeName (a string literal), salaryPerHour (a floating-point number) and totalHours.( an integer). Then display them on the screen and store them in a file named “Employee.txt”. The program should calculate the totalPay which is salaryPerHour multiply totalHours for each employee. Then, write all of the employees’ records (including totalPay) to the output file. Use file “Employee.txt” for input and “EmployeeSalary.txt” for output.