Reference no: EM132197757
Write a complete C++ program to do the following: Read payroll information from a file (payroll.txt) until you reach the end of the file.
For each employee read the person's first name, last name, and their annual earnings.
Compute their tax owed and their net pay using their tax rate.
Less than or equal to 20,000 Rate = 10%
Greater than 20,000 but less than or equal to 50,000 Rate = 20%
Greater than 50,000 but less than 100,000 Rate = 25%
Greater than or equal to 100,000 Rate = 30%
Print their name, their tax owed, and their net.