Write some Software

Lukket

Beskrivelse

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, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

Projekt-ID: #13459480

46 freelancere byder i gennemsnit $82 for dette job

srinichal

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

$35 AUD på 1 dag
(160 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
(401 bedømmelser)
7.4
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
(173 bedømmelser)
6.3
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
(56 bedømmelser)
6.3
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
(82 bedømmelser)
6.4
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
(313 bedømmelser)
6.3
$73 AUD på 1 dag
(33 bedømmelser)
6.1
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
(57 bedømmelser)
5.6
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
(23 bedømmelser)
5.1
$35 AUD på 1 dag
(49 bedømmelser)
4.8
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
(26 bedømmelser)
4.4
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
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
(19 bedømmelser)
4.6
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
Minaxi19

Hello, I can do this in just 1 hour. Message me to get this done right away. Eagerly awaiting to hear from u Thanks.

$30 AUD in 0 dage
(5 bedømmelser)
3.0
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
(6 bedømmelser)
3.1
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
(8 bedømmelser)
2.9
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
(8 bedømmelser)
3.0
geq

Hello. I can solve this quickly and give you clean code, well documented sources. Looking forward to work with you. Thank you.

$287 AUD på 1 dag
(2 bedømmelser)
2.7
$25 AUD på 1 dag
(3 bedømmelser)
3.0