Lukket

Write some Software

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

Færdigheder: Java, PHP, Software Arkitektur

Se mere: software write articles free, software write chip epson, useful software write book, software write web specs, software write edid, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write technical manual

Om arbejdsgiveren:
( 0 bedømmelser ) Australia

Projekt-ID: #13459480

42 freelancere byder i gennemsnit $88 for dette job

srinichal

Ready to deliver asap and an expert coder at your service .

$35 AUD på 1 dag
(162 bedømmelser)
7.5
dobreiiita

Hello I am Java expert and interested in this project. I have reviewed the details of both tasks and confident to handle it perfectly. I have a lot of experience in helping in students with assignments, so I wi Mere

$30 AUD på 1 dag
(412 bedømmelser)
7.4
$73 AUD på 1 dag
(44 bedømmelser)
6.7
abhijitbuet

Expert in java having 5 years of experience coding with this language.Its a very easy task for me as I am experienced with 200+ projects.

$50 AUD på 1 dag
(204 bedømmelser)
6.5
buzzcoder

Hello, I can get back all those 2 tasks in next 3 hours, please let me know if you're ok with my price. High professional freelancer, kindly check my profile. Thanks, Duy

$40 AUD på 1 dag
(57 bedømmelser)
6.3
AhmedLabib93

Hello My name is Ahmed, i'm a top rated freelancer. i worked over 300 projects and over 500 hours doing java projects. plus i passed freelancer java v3 exam with score 3.75 plus i got 2 java certificate 1Z0-803 and 1Z Mere

$20 AUD på 1 dag
(334 bedømmelser)
6.4
tarun308

Hi, I have many years of experience in Java and web development, As you can see from the all 5 start ratings that I have received from previous 80+ projects, I can complete this project with high quality work. I have Mere

$30 AUD på 1 dag
(89 bedømmelser)
6.4
krishan725

Dear Sir, Relevant Experience and Qualifications: PHP | WEB APPLICATION | SOFTWARE DEVELOPMENT| CODEIGNITER | API INTEGRATION | ECOMMERCE | MOBILE APP As we have read your project description, we are really like to w Mere

$2222 AUD på 1 dag
(34 bedømmelser)
5.8
techiestiffy

Hello, I have 5 years of experience in Java.I am a full stack developer. I can do this job. Let me know if you are interested. Thanks, Amit

$55 AUD på 1 dag
(64 bedømmelser)
5.7
neerajagrawal201

hi, it's very easy task for me. I can do it in minimum time and budget. Please ping me for more information. thanks

$10 AUD på 1 dag
(50 bedømmelser)
5.2
yassine008

Good day! I`m expert Java Dev with more than +7 years in It area. I have a success career in web/soft development using cutting edge Tech with latest frameworks in Java. Best Regards

$88 AUD in 0 dage
(25 bedømmelser)
5.3
pinkcitysolution

Dear Hiring Manager, My work experience as shown in my profile have helped me develop mastery in Website design & development. As proof, I got positive feedback from my previous employers. Please have a look of m Mere

$40 AUD på 1 dag
(29 bedømmelser)
5.3
KothariNeha

I will provide you service and maintenance also even after completion of the work with 100% satisfaction. I'm not just looking for money OR one project, as I firmly believe in long term business relationships. For Mere

$25 AUD på 1 dag
(24 bedømmelser)
5.1
$35 AUD på 1 dag
(63 bedømmelser)
5.0
Shchipunov

Hello, Let me introduce myself: Over ten years of experience in IT industry, architecture, design, development and testing of multi-tier enterprise applications and services of e-commerce by using Java technologies and Mere

$15 AUD på 1 dag
(21 bedømmelser)
4.3
imonk

Hello, I like to discuss your requirements in brief and present you my queries on your requirements About me: I have 5+years of experience in php WEB APPLICATION and WEBSITE designing and development Technical Ski Mere

$25 AUD på 1 dag
(13 bedømmelser)
4.0
BICSoft

Hey, I'm interested in your project. Please send me a message so that we can discuss more......................

$30 AUD på 1 dag
(15 bedømmelser)
3.3
Rajesh088

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 Mere

$15 AUD på 1 dag
(10 bedømmelser)
3.6
arzooshaikh

hi client, see my portfolio for more JAVA project information. I am JAVA developer having 5 years of experience in software development. I can easily do your two task as per your descriptions. please start Mere

$35 AUD in 3 dage
(7 bedømmelser)
3.3
$55 AUD på 1 dag
(18 bedømmelser)
3.3