Find Jobs
Hire Freelancers

Write some Software

$10-15 AUD

Completed
Posted about 7 years ago

$10-15 AUD

Paid on delivery
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 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 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 6)
Project ID: 13470239

About the project

5 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I am Java Bossssssssssssss..........Its really a simple task for [login to view URL] response................................................
$20 AUD in 1 day
4.9 (242 reviews)
6.7
6.7
5 freelancers are bidding on average $18 AUD for this job
User Avatar
We are team of excellent developers. We have 2 year experience related to your project field. We can do your project and solve your all problems according to your requirements. We have read your description for projects and we understand what you want so we are confident that we can do it easily in mention time. We assure you that you will be completely satisfy with our work. And after delivering your project if you feel some issue in understanding the projects then we will teach you free until you understand. If you have any question then feel free to ask. We are here for you. Thank you Demon Developer Team
$15 AUD in 1 day
4.8 (77 reviews)
5.3
5.3
User Avatar
Dear Client, Hope you doing well. Thank you for providing me an opportunity to showcase my expertise to you. I have gone through your requirement and as per my previous work experience i am ready to start work immediately on your project. and i have more than 5 years of experinece in software applications developments (Desktop and Web using Java ) Skills : J2SE , J2EE , Hibernet , Spring , HTML , CSS , JAVASCRIPT, JQUERY , Mysql , Oracle Expertise in : ERP , CRM , Accounting and any Kind of Management Software ....! i can provide you application with reasonable price with great user interface . will wait for your response Thanks...!
$10 AUD in 1 day
4.8 (23 reviews)
4.2
4.2

About the client

Flag of AUSTRALIA
merrylands, Australia
4.9
14
Payment method verified
Member since Mar 21, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.