computer science

5. Calculation of tax in Ruritania
In a fictitious country of Ruritania, which is in a fictitious continent called Afrisia, the tax system is highly simplified. They 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 30% 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 equivalent flow chart
(c) Write a program in Java, that calculates and prints how many million zubies to be paid in taxes.

Nedd help

  1. 👍 0
  2. 👎 0
  3. 👁 120
asked by Bofelo

Respond to this Question

First Name

Your Response

Similar Questions

  1. programing

    1. Elements – sequence-series outputting Write a program that prints the following elements: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, (hereto referred to as elements) etc., up till a user-entered value. The program should not print

    asked by tefo sello on October 3, 2014
  2. computer science

    In the Meteorological institute at Ruritania, one can find the following at Shiaho Railway Station in 2013 • In May 22 days with rainfall totaled 89 mm in that month • In June 1822 days with rainfall totaled 127 mm in that

    asked by Tefo sello on September 12, 2014
  3. java programming

    Your boss at Ruritania Weather Center (RWC) has asked you to write a small program for center. The specification are as follows: a. the program asks a user to enter a number between 1 and 12 inclusive representing the months

    asked by lebo on October 21, 2014
  4. Algebra 1

    A theater group made appearances in two countries. The hotel charges before tax in the second country were $500 lower than in the first. The tax on the hotel bill was 5.5% in the first country and 4.5%in the second. After the

    asked by Emily on July 9, 2011
  5. Algebra 1

    A theater group made appearances in two countries. The hotel charges before tax in the second country were $500 lower than in the first. The tax on the hotel bill was 5.5% in the first country and 4.5%in the second. After the

    asked by Emily on July 9, 2011
  6. math

    okay so I have two questions that i'm completely stuck on ;-; 1.You want to buy three books that are on sale at 20% off. The original prices of the books are $2.50, $4.95, and $6.00. How much will you save? Calculation With

    asked by redful on November 3, 2017
  7. Math

    Shopping: Tax Situation: You are purchasing four items and want to calculate the tax. The items cost $2.50, $8.75, $3.00, and $10.25. The tax rate is 6%. How much is the tax? Calculation With Distribution (Show all steps.)

    asked by y on November 20, 2018
  8. Math

    Shopping: Tax Situation: You are purchasing four items and want to calculate the tax. The items cost $2.50, $8.75, $3.00, and $10.25. The tax rate is 6%. How much is the tax? Calculation with distribution and without. THANK YOU!!!

    asked by In Math 7th grade Connexus on November 13, 2019
  9. math

    You are purchasing four items and want to calculate the tax. The items cost $2.50, $8.75, $3.00, and $10.25. The tax rate is 6%. How much is the tax? I am just confused on the Calculation Without Distribution part! Please help!

    asked by BLΛƆKPIИK on October 30, 2019
  10. math

    Shopping: Tax Situation: You are purchasing four items and want to calculate the tax. The items cost $2.50, $8.75, $3.00, and $10.25. The tax rate is 6%. How much is the tax? Calculation With Distribution (Show all steps.)

    asked by Elizabeth on November 18, 2016

More Similar Questions