Question: Part 1 Create a Java program that interviews the users about their personal information, how many jobs they have and what the income is from

Part 1 Create a Java 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 first name

How many jobs the user has

What the highest paying job pays

What the lowest paying job pays

What the average for all X number of jobs is

The example shown here represents what the user types in green and what the program displays in red.

What is your first name? David

How many jobs have you had? 3

Enter income from job #1: 10000

Enter income from job #2: 30000

Enter income from job #3: 50000

Hello, David. You have had 3 jobs. The highest paying job paid $50000. The lowest paying job paid $10000. The average pay for the 3 jobs entered is $30000.

Part 2 Additionally, your program should write an output file to the location and file name of the user's choosing if they would like an output of the information. (So you should first prompt them to see if they want it output to a data file and then prompt for the data file, if applicable.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!