Create a program that interviews the users

Assignment Help Basic Computer Science
Reference no: EM13307282

Create a program that interviews the users about their personal information, how many jobs they have and what the income is from each of their jobs. The program should then display back to the user the following items:

Their name
How many jobs the user has
What the highest paying job pays
What the lowest paying job pays
What the average for all jobs is
The example shown here represents what the user types in green and what the program displays in red.
What is your name? David Freeze
How many jobs do you have? 3
Enter income from job #1: 10000
Enter income from job #2: 30000
Enter income from job #3: 50000
Hello, David Freeze. You have 3 jobs.
The highest paying job pays $50000.
The lowest paying job pays $10000.
The average pay for the 3 jobs entered is $30000.

You can accomplish this program with just one class - a separate tester class is not required.

 

Reference no: EM13307282

Questions Cloud

How much energy in kilowatt hours would be used : There is 7 total 100 W light bulbs in a parallel circuit your basement, how much energy in kilowatt hours would be used
Review the institute of medicine report : The impact of the IOM report on nursing practice, particularly in primary care, and how you would change your practice to meet the goals of the IOM report.
Determine kinetic energy after the stream has slowed down : A section view of a dam shown and water is stored at an elevation of 6 m above the base. the water flows through the dam in a concreate opening 2m high and 3 m wide. there are no losses or friction.
At what distance is the center of mass from the left end : If a 20kg mass hangs from the right side of a massless bar 5 meters in length and a 5kg mass hangs from the left side of the bar
Create a program that interviews the users : Create a program that interviews the users about their personal information, how many jobs they have and what the income is from each of their jobs. The program should then display back to the user the following items.
Find the radiation pressure on the mirror : A 23.2-mW laser beam of diameter 2.18 mm is reflected at normal incidence by a perfectly reflecting mirror. Calculate the radiation pressure on the mirror
Determine remaining load carrying capacity of cracked beam : a reinforced concrete beam with a section of 12 inches width and 24 inches depth is reinforced with 3no. 9 bars. fc'=5000psi and fy=60000psi. a 2 inch cover is used and the beam has a simply supported span lenght of 15ft.
Why is it that a profit-maximizing businessman : Question 2: Why is it that a profit-maximizing businessman would always raise prices when facing an inelastic demand curve, but might or might not raise prices when facing an elastic demand curve? Explain and justify your answers in detail.
Analyze the financial planning process for new ventures : Analyze the financial planning process for new ventures and speculate about which steps are the most difficult for new entrepreneurs to implement. State why they are the most difficult.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Internet access providers

Should Internet access providers or telephone companies be allowed to monitor how you use your Internet or telephone connection? Why or why not?

  Analyse the effectiveness of the qantas

You are required to analyse the effectiveness of the Qantas Online Air Ticketing system

  Fully web-based access for both general public and secretary

Fully web-based access for both general public and Secretary of state employees a database of drivers and their personnel information contained on their drivers licenses

  How are adc used in medical devices

How are ADC's used in medical devices? Please give examples

  How do i put three numbers in ascending order in ocaml

how do i put three numbers in ascending order in ocaml?

  Explain how this application can be used

Explain how this application can be used to collect data from customers and employees to improve operational performance

  Relates part of the grammar to a requirement

question1: Given the following grammars with start symbol , specify the type (0, 1, 2 or 3) of each  one and give a reason that relates part of the grammar to a requirement for the grammar type. Note:  while technically any grammar is Type 0, the..

  Write a usable code snippet that demonstrates an iterator

A client of K & R has come to you for information regarding loops, iterators, and arrays. He needs you to help him comprehend these concepts. To assist this client, briefly address the following in a 1-2 page Notepad document.

  Rbocs in mfj to retain control of yellow pages

One way to provide additional revenues for the RBOCs in the MFJ was to retain control of the Yellow Pages.

  Under what circumstances would you want to convert a text

Why do you think you would want to count variables and words in a string? Provide an example. Under what circumstances would you want to convert a text string to a numerical data? Provide an example. provide specific examples please.

  How many clock cycles are needed

Indicate data dependency in the code below. Assuming there is no forwarding in the pipeline, howmany clock cycles are needed to finish the program? If full forwarding is used, how many clock cycles are needed?

  Faulty terminations and excessive horizontal wiring spans

What do you consider the single most important reason to pay attention to faulty terminations and excessive horizontal wiring spans?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd