Read this entire document before beginning your lab. For this lab you are required to fulfill all requirements exactly a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Read this entire document before beginning your lab. For this lab you are required to fulfill all requirements exactly a
Read this entire document before beginning your lab. For this lab you are required to fulfill all requirements exactly as described in this provided document, no less, no more. Task: As a software engineer you are commissioned to write a Java program to calculate taxes for your province revenue agency. The program requirements are described as follows: Input: The income of the citizen. Output: The amount of tax to be paid by the citizen. The tax is calculated as follows: Tax 15% 20.5% Income amount First bracket: on the first $48,000 of taxable income, Second bracket: on the portion of taxable income over $48,000 up to $97,000 Third bracket: on the portion of taxable income over $97,000 to $150,000 Fourth bracket: the portion of taxable income over 150,000 up to $214,000 Fifth bracket: of taxable income over $214,000 26% 29% 33% Below illustrates how your program should behave and appear. Note that º symbol indicates a space and is a new line character. All words except for user input (in blue) must be exactly as indicated in the sample. Any extra "spaces" and/or "new lines” will be graded a wrong answer. Program Sample outputs ex:1 Input your income: 30000 Tax amount is: 4500.04 ex:2 Input your income: 100004 Tax amount is: 1500.00