Write a Java program using NetBeans IDE or notepad that calculates the income tax . INTRODUCTION From
Question:
Write a Java program using NetBeans IDE or notepad that calculates the income tax .
INTRODUCTION From 2009, people in the Strange country must pay income tax depended on the total amount he/she earns. Income tax is the kind of progress tax, which applies higher tax rates to individuals posting higher earnings. Firstly, taxable income is identified. Taxable income is calculated by deducting deduction from income. Then, taxable income is multiplied by the tax rate of according brackets you belong in. Here, three tax brackets: 1. taxable income of 5000 USD or less attracts tax at 5% 2. taxable income of more than 5000 USD and not more than 10000 USD attracts tax at 10%. 3. taxable income of more than 10000 USD attracts tax at 15%. SPECIFICATIONS You should use linked list to store data for taxpayers in a company. You should create a linked list from scratch, do not use list structures available in java Data like ArrayList, Vector or LinkedList classes. The items for a taxpayer are: 1. The code of the taxpayer (this should be unique for the taxpayer). 2. The name of the taxpayer. 3. The income earned by the taxpayer (should be positive). 4. The deduction amount (should be non-negative and less than income). 5. The tax to pay (calculated from income and deduction). Thus your application should contain the class like: class TaxPayer {String code,name; double income,deduct,tax; ... } On running, your program displays the menu as below:
Data Structures and Algorithms in Java
ISBN: 978-1118771334
6th edition
Authors: Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser