I
n
a
fictitious
country of Ruritania,
which is
in a
fictitious
continent called Afrisia,
the
tax system is highly simplified.
T
hey
have
system where all taxes are converted to
one single value and then the tax is applied according to the following rule(s)
:
if a
person earns
less than
ZB10,000.00 then you pay 10% tax on all income, and if it is
= ZB10,000.00, then you pay 10% on the first ZB 10,000 zubies ( ZB, the unit of
currency in Ruritania, and 3
0% tax on the rest of
your income.
(a)
Write a pseudo
code for the tax calculation in Ruritania
(b)
Convert your pseudo
code in (a) into an e
quivalent flow chart
(
c
)
W
rite
a program in Java, that calculates and prints how many million zubies to
be paid in taxes.