Find Jobs
Hire Freelancers

Java tasks

$10-30 AUD

已完成
已发布大约 7 年前

$10-30 AUD

货到付款
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
项目 ID: 13432657

关于此项目

8提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Simple project for me to complete. Can deliver best work in this type of assignments within shortest possible timeline......................................
$30 AUD 在1天之内
4.9 (207条评论)
6.5
6.5
8威客以平均价$51 AUD来参与此工作竞价
用户头像
Expert in Java having 5 years of experience coding with this langugae.I can definitely do this...................
$30 AUD 在1天之内
5.0 (22条评论)
4.3
4.3
用户头像
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 在2天之内
4.8 (2条评论)
1.5
1.5
用户头像
Hello, I am ready to do your project with 1 day. As i work on java project . I have completed many projects
$30 AUD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在4天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在1天之内
0.0 (0条评论)
1.8
1.8

关于客户

AUSTRALIA的国旗
strathfield, Australia
5.0
1
付款方式已验证
会员自3月 17, 2017起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。