Java programming (urgent) please have a look at the presentation and

Value: 10%

Due date: 20-Mar-2017

Submission method options

Alternative submission method


Task 1

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:

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

Problem Description:

Write a Java program to solve the problem presented below. You may assume that the user will always enter valid data; you do not have to perform data validation.
The entry charges to a zoo are:

Children 5 years old and younger: free
Accompanied children from 6 to 15 years old: $2 each
Unaccompanied children from 6 to 15 years old: $5 each
Adults from 16 to 59 years old: $10 each
Seniors from 60 years and older: $8 each

An accompanied child is defined as one in a family group accompanied by an adult or a senior. An adult or senior can only count as accompanying one child from 6 to 15 years old. No limit is placed on the number of children 5 years old and younger, which is perhaps a failing on the part of the zoo authorities, but simplifies your problem. Ages are integers.

Your program will calculate and display the entry charge for each family group and also display the total takings for a sequence of groups. In this process it will correctly determine the number of accompanied children and those not counted as accompanied in each family group. It will request the user to enter the number of children (6 – 15 years old), the number of adults (16 – 59 years old) and the number of seniors (60+ years old) for each group, and it will display the entry charge for each group.

The following shows a sample run.

Enter a group? (Yes=1/No=0): 1
Enter the number of children (age 6–15): 5
Enter the number of adults (age 16–59): 2
Enter the number of seniors (age 60+): 1
Total entry charge is $44

Enter a group? (Yes=1/No=0): 1
Enter the number of children (age 6–15): 1
Enter the number of adults (age 16–59): 2
Enter the number of seniors (age 60+): 0
Total entry charge is $22

Enter a group? (Yes=1/No=0): 0
Total takings: $66


Materials to submit for Assignment 1:

You need to submit a single zip file containing ALL of the required assignment documents including the java and class files as well as the test documents.



To complete this assignment you might need to have covered material up to and including the topic Selection and Looping in the Text Book and Topics.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more