The primary theme of the paper is WRITE A COMPLETE JAVA PROGRAM WITH THE FOLLOWING SPECIFICATIONS in which you are required to emphasize its aspects in detail. The cost of the paper starts from $129 and it has been purchased and rated 4.9 points on the scale of 5 points by the students. To gain deeper insights into the paper and achieve fresh information, kindly contact our support.
Task
Assessment 1 has total 10 marks. Marks will be scaled according to the value of the assignment. There are two tasks in assessment 1, Task1: calculate cube and Task 2: calculate tax.
Task 1 Value: 5 marks
Write a complete Java program with the following specifications:
As an example, if the starting and finishing values were 2 and 4 respectively, the table in the output would look something like the following:
Number Cube
2 8
3 27
4 64
Ensure that the program is appropriately documented throughout and thoroughly tested to demonstrate its correct operation.
You may assume that the user of the program enters the inputs as required so that no input validation or error checking is necessary.
Task 2 Value: 5 marks
The Australian Government introduces a new personal income tax in 2017. The personal income tax is calculated based on filing status and taxable income. There are four filing statuses: single filers, married filing jointly, married filing separately, and head of household. The tax rates vary every year. The following table shows the rates for 2017. If you are, say, single with a taxable income of $10,000, the first $8,350 is taxed at 10% and the other $1,650 is taxed at 15%. So, your tax is $1,082.5.
You need to write a program to compute the personal income tax. Your program should prompt the user to enter the filing status and taxable income and compute the tax. Enter 0 for single filers, 1 for married filing jointly, 2 for married filing separately, and 3 for head of household.
Here are sample runs of the program:
Sample 1:
Enter the filing status: 0
Enter the taxable income: 100000
Tax is 21720.0
Sample 2:
Enter the filing status: 1
Enter the taxable income: 300339
Tax is 76932.87
Sample 3:
Enter the filing status: 2
Enter the taxable income: 123500
Tax is 29665.5
Sample 4:
Enter the filing status: 3
Enter the taxable income: 4545402
Tax is 1565250.7
Rationale
This assignment has been designed to allow students to test and demonstrate their ability to:
Marking criteria
These criteria will be used to evaluate Assignment 1:
Marking guide specific to tasks:
Presentation
Material to submit for Task 1 and Task 2
Requirements
To complete this assignment you might need to have covered materials up to and including the topic Selection and Looping in the Text Book and Topics.
Copyright © Homework Area. All Rights Reserved.