Calculation of tax in Uzapia
The United Nations have just recognised a new country called Uzapia. Uzapia has
a currency called Zubies (ZB). The Uzapian tax system is highly simplified and
meant to be fair. They have system where all their income is converted to one
single value and then the tax is applied according to the following rule(s):
For non business tax payers
1. If a person earns less than ZB10,000.00 then they pay 10% tax on all
income, and ,
2. If they earn >= ZB10,000.00, then they pay 10% on the first ZB 10,000
Zubies and 30% tax on the rest of the income.
For business tax payers, only profit is taxed (i.e. overhead expenses are deducted
from gross sales/income, overheads are things like electricity, company car
expense, advertising, stationary etc.)
1. If a business makes less than ZB50,000.00 Gross then they pay 25% tax on
profit, and ,
2. If they earn >= ZB50,000.00, then they pay 35% on the first ZB 10,000
Zubies and 30% tax on the rest of the income.
The user should provide as input
1. Full name of the person ( or Business),
2. Indication with a string input whether you are “Business” or “Employee”
3. ALL their income sources and amounts ,
4. Any and All overheads for businesses
(a) Write a pseudo-code for the tax calculation in Uzapia
(b) Convert your pseudo-code in (a) into an equivalent flow chart
(c) Write a program in Java, that calculates and prints as output the following tableAll
numbers must be rounded to 2 Decimal places
********************************************************
Income Item Overhead Item ( If applicable)
********************************************************
Item (s) Items(s)
********************************************************
Total Income
Total Overhead
Total Profit(if applicable)
********************************************************
Total Taxes(ZB)
*********************************************************