We're Open
+44 7340 9595 39
+44 20 3239 6980

WRITE A COMPLETE JAVA PROGRAM WITH THE FOLLOWING SPECIFICATIONS

  100% Pass and No Plagiarism Guaranteed

WRITE A COMPLETE JAVA PROGRAM WITH THE FOLLOWING SPECIFICATIONS

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 1Value: 5 marks

Write a complete Java program with the following specifications:

  • Display a welcoming message such as: “Welcome to Cubing Program!”
  • Prompt the user twice to enter two positive whole numbers, indicating starting and finishing values, first one being smaller than the second one
  • Calculate the cube of each number from starting value to finishing value and then display an appropriately headered two column table with each row containing the number and its cube
  • Display a farewell message such as: “Goodbye, thank you for using our program!”

 

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 2Value: 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:

  • be able to implement basic algorithms in Java (objective 1)
  • be able to apply basic testing and debugging techniques in program development (objective 5)

Marking criteria

These criteria will be used to evaluate Assignment 1:

  • The tasks are performed as specified and the assignment is submitted as required
  • Appropriate understanding of the subject area is demonstrated, including correct use of approriate techniques
  • Explanations and discussions are cogent and use clear and correct English expression
  • Referencing is used where appropriate

 

Marking guide specific to tasks:

 

Presentation

Material to submit for Task 1 and Task 2

 

  1. You need to submit the java and class files
  2. You need to submit a doc/pdf file with a snapshot of the program output for at least two executions

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.


100% Plagiarism Free & Custom Written,
Tailored to your instructions


International House, 12 Constance Street, London, United Kingdom,
E16 2DQ

UK Registered Company # 11483120


100% Pass Guarantee

STILL NOT CONVINCED?

View our samples written by our professional writers to let you comprehend how your work is going to look like. We have categorised this into 3 categories with a few different subject domains

View Our Samples

We offer a £ 2999

If your assignment is plagiarised, we will give you £ 2999 in compensation

Recent Updates

Details

  • Title: WRITE A COMPLETE JAVA PROGRAM WITH THE FOLLOWING SPECIFICATIONS
  • Price: £ 129
  • Post Date: 2018-11-09T11:37:14+00:00
  • Category: Assignment
  • No Plagiarism Guarantee
  • 100% Custom Written

Customer Reviews

WRITE A COMPLETE JAVA PROGRAM WITH THE FOLLOWING SPECIFICATIONS WRITE A COMPLETE JAVA PROGRAM WITH THE FOLLOWING SPECIFICATIONS
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

Now I am happy that I made the right decision of coming to Insta Research for help. My term paper was so technical and analytical at the same time. I got really confused about what to do but got relaxed when I was given such a humble writer. He clarified my concepts with the best explanations and discussions. I almost interacted with him on daily basis within the writing process. The best feature of this site is quick delivery as I got the work before my deadline. Additionally, the term paper is written skillfully and handled quite professionally. Now I am able to take a deep sigh of relief and thank you all for such speedy help. The quality of the work made my day.
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

I had wasted so much money for poor quality work on other sites that I became despair to find a reliable one. I landed on Insta Research and finally, I am fully satisfied after ages from their quality of the work and instant response. Also, the rates are handy. Great going guys!