urgent
The amount spent per month by employees for parking at a municipal lot is normally distributed
with a mean of $320 and a standard deviation of $40. (Round the final answers to 2 decimal
places.) a. About what percentage of the observations lie between $280 and $360 ? Percentage of
observations % b. About what percentage of the observations lie between $240 and $400 ?
Percentage of observations c. About what percentage of the observations lie between $200 and
$440 ? Percentage of observations.
URGENT This will need to be in C++ please help me I had to .pdf
1. URGENT: This will need to be in C++ please help me I had to retake this class and dont want to
do all this from scratch
Given file:
Cottage Cabin Shack Mansion Apartment House Castle Hut Hobbit Hole Cave Palace Dungeon
Loft Townhouse Treehouse
Name vour source file username_progz,epp and z it in a folder and upload it to Program 2 in
Assignmentz in ilearn. (Replace with your TNTCCII username). Cxample: mine is named
acrockett_prog2.cp. DESCRIPTION You want to create a program that can prediet a user's future.
All the user must do is answer a feuv questions and pour program generates the following
Infonmation aloout the user: - Who they will marry - Haw many childran they will have - Their jubu
tille - Thcir business or organization - Their salary - The car they drive - What kind of dwelling they
will live in - Their clty and state they will live In CONCEPTS - menu bascd programs - use switch
statemants - validaling user inpul with luops - allowing a program to run multiple times until user
wants to quit - crganizing code in functions ting input from files1 Three integer numbers hetwren 1
and 100 2 Ihree job titles (2 they like & one they don't like] 3 Three companies, restaurants, or
organizations (2 they like & one they dorit like) 4 Three integer numbers betwren 10000 and
500000 RANDOM NUMEERS - Greate a furction that will generate a random number within a
given range. The function will accept two integers to represent the low & high range and will return
the randon number. This function definition sheuld be bolow the maln function. - Call this function
whenever you are determining which of the three options to print for the user in output (generate
hehwoen 1&3 indusively). - Call this furction right before the for loaps ta determine iteratioris of the
for laops when reating fram the file (generate betwoen 1815 inclusiuclyj. TEXT FILES You are
going to be reading some data from text fles. One text file with 15 types of dvellings
(DWEULNGS.Lxt) is previded fot you (sen ser ener capture below). I uploveded two versioris of
this file. Use the one desiened for your computer. If you have a Mac, use DWELLIRGS_Mac.tat
and if you have a Windows PG, use DWELLINGS_PC.tat.One text fill with 15 types of dwellings
(UWveulNGs,txt) is prowided for you (see screen capture bolow), I uplosded two versions of this
file. Use the one designed for your computer. If you have a Mac, use DWFIL IRGS_Mac-tet and if
you have a Windows PC, use DwVLlINGS Pitit. You must create three text [tut] files (not provided
for you) that have 15 lines of data in them: CAR5.bxt, LOCATIONS.txt, and PEOPLE.txt. These
text files must be included with your subrnission. For each of the four pirces of information you are
getting from the feur different text files, you will create a for loop that will iterate. the same nurnber
of times as the rarudorn rumber generated. Insibe this for koop, you will have a getline staternent
that will read from the text file into the appropriate variable. You will have to open the specific file
before the for loop, and dose it after the far Incap. For example, If the random number generated
betwoon 1 and 15 was 7 , then the resulting output for "dwelling" should be Castle.- Your main
function should call a function called displayMenuGetchoice(). This function docsn't have any
paramcters but will return an integer indicating the user's thoire (1 ar 2). This function will ask the
usar to either 1) Predict my futurel 2) End the propram. 0 Read in the user's cholce. - Validate the
user's choice with a while loop - Feturn the user's choice back to the rruin function. Remember to
place the progammer defined function BELDW the main function! - You mast have a switch
statement to figure nut which chaice the user selrcter. - The program should run over and over
2. until the user selects to end the program using a do-while loop. - You MuST validate user input
with while loopa If the input is a number to ensure the number is in the spocified range, You may
assume the user will enter in a number (not a character or stringl, but you can't assume they
menter a number within the speclfled range. Refer to samplo output of how user input valiclation
should behave, Be specific to the user to lindicate which number was inalid. - You MUST allow
spaces to be included in all string input. OUTPUT - The uset's spesuse [dala cormes fromi file
arnd is picked via a randomin nurnuer] - The user's type of house / dwelling (date comes from file
and is picked via a random number) - The location where the user will live (data comes from file
and is picked via a random number) - Ihe car the user will drive (data comes from file and is oicked
via a random numberl- The user's spouse [dats comes from file and is picked via a random
number] - Tha user's type of house / dwelling (data comes from files and is pirked via a random
number] - The location where the user will live (diata comes from file arid is picked via a random
nurnter) - The car the user will drive (date comes from file and is picked via a random number) -
The number of children the user will have (based on input from user & random number generated
between 1 & I) - Where the user will work, their job title, and their salary (based on input from user
& random number generated between 1 &B) SAMPLE OUTPUT User input is highlighted in
yellow. Dicic frcm the fallawing menu: 2. End program. choose 1 ur 2: 6 Invalit chcice. CHUOSE 1
er 2: 1 You chose to predict your future! iirst, I need just a little intornation. Enter =hree numbers
between 1 and 100 , separazed by a space.5pring 2023 C5C 1300 PRCGRAM 2dcox (Protected
View) - Word (Unlicersed Product)85822 Entar in an awescme job title: Dance Instructor Enter in
another awesome fob title: Artiat Fit.er in the worst joh tit.1e ever: Finglish Teacher Entar a
company, organization, or restaurant you like: Cane cresk rec Center Enter anozher company,
orqanization, or restaurant you like: Tennesaee Tech Univeraizv Enter a coupany, organization, or
restaurant you haze: NoDonalds Eiter chree numbers between 10,000 and 500,000 , separa:ed by
a space. 8.538439399913933 Ycu and yaur spause, Adele wil1 live in a House in 13 Rue Rarnel,
62100 Calais, France and drive a Marocm 2010 Nisson Cube. You and your spouss will have 22
childron. You will work az McDonalds as a Dnglish Teacher making 3399 a year. Pier frem ths
following menu: 1. Le="s pluy 4 LHS! 2. End pregram. CHOOE 1 or 2:2 You chose to end the
prodram. Hye!5pring 2023 C5C 1300 PRCGRAM 2dcox (Protected View) - Word (Unlicersed
Product)