Question: NOTE: All C++ programs that you write must have comments at the top with the program name, your name, and the pseudocode describing what the
NOTE: All C++ programs that you write must have comments at the top with the program name, your name, and the pseudocode describing what the program will do. 1. Write a C++ program named Lab7A that calculates a person's income taxes based on their yearly income. (We know that the income will be greater than $40,000.) The income tax will be calculated as follows: 1.12% of the first $10,000 of the income (0.12 * 10,000) ii.22% of the rest of the income after that o Read the income from a text file named Lab7A.txt o Calculate the tax based on the above rules. o Print the income and the tax with labels and 2 decimal places. O Also, print the income and tax to a text file named Lab7AOut.txt on two separate lines. (No labels, just the numbers)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
