The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 337 Weeks Ago, 1 Day Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Part 1 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:
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.)
----------- ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly