Find Jobs
Hire Freelancers

Java tasks

$10-30 AUD

Completed
Posted about 7 years ago

$10-30 AUD

Paid on delivery
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: Number Cube 2 8 3 27 4 64 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
Project ID: 13432657

About the project

8 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
Simple project for me to complete. Can deliver best work in this type of assignments within shortest possible timeline......................................
$30 AUD in 1 day
4.9 (207 reviews)
6.5
6.5
8 freelancers are bidding on average $51 AUD for this job
User Avatar
Expert in Java having 5 years of experience coding with this langugae.I can definitely do this...................
$30 AUD in 1 day
5.0 (22 reviews)
4.3
4.3
User Avatar
Will do this one for a good review! Professional work, in time, with ZERO errors, for sure! We can do this for you quickly and with great quality as per your budget.. We aim to be your one stop solution for ALL IT needs, and provide a 100% SATISFACTION GUARANTEE. We do not charge you, if you are unsatisfied, due to any reason, with our work. Will accept the lowest amount, you think is fair. Please do give me a shot. Awaiting your response. Thanks!
$100 AUD in 2 days
4.8 (2 reviews)
1.5
1.5
User Avatar
Hello, I am ready to do your project with 1 day. As i work on java project . I have completed many projects
$30 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
hello sir!! we are a team of software engineers. we have team members who have immense knowledge in Java. we are new here on freelancer. give us a chance to prove our skills. we are interested in your project and we would be glad to work with you. we can show you our previous work if you want to see it. for more discussion please inbox me. thank you.
$30 AUD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi My name is Tamer. I have been developing some Telecom services back end for Vodafone Egypt (Egyptian Telecom Operator) I'm very interested in back end development. I do programming on Java almost 6 years. All my tasks/projects were done in time. I always keep updated my colleges and clients about the status. During writing services I mentioned before I learn more about Java back-end and front-end, so I know how to do changes effectively and compliant with new updates. I do not afraid to work with legacy code, I very glad when I can improve some aspects. I do my job very attentively to details and client requirements. I would glad to discuss some technical questions about this project by Skype. Thank you for opportunity, sir. Best wishes, Tamer (UTC+2)
$25 AUD in 1 day
0.0 (0 reviews)
1.8
1.8

About the client

Flag of AUSTRALIA
strathfield, Australia
5.0
1
Payment method verified
Member since Mar 17, 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.