Question 1 (Lab 3.1.1.11) Your task is to write a tax calculator as follows: 1- if the citizen's income is not higher th
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 1 (Lab 3.1.1.11) Your task is to write a tax calculator as follows: 1- if the citizen's income is not higher th
Question 1 (Lab 3.1.1.11) Your task is to write a tax calculator as follows: 1- if the citizen's income is not higher than 85,528 thalers, the tax was equal to 18% of the income minus 556 thalers and 2 cents. 2- If the income was higher than this amount, the tax was equal to 14,839 thalers and 2 cents, plus 32% of the surplus over 85,528 thalers. 3- If the calculated tax is less than zero, it only means no tax at all. Test your code using the provided Test Data in Lab 3.1.1.11 You code