hi i need help about two projects i need as soon as possible thank you

Anonymous

Question Description

hi i need help about two projects i need as soon as possible thank you

about project 9 >

Project 9

Part A)

At the East Campus Garage:

- A parking spot can be on one of 3 levels 1, 2, or 3.

- A parking spot can be on one of the 4 rows A, B, C, or D

- A parking spot can be occupied by a Motocycle, a car, or an bus

Create a structure (struct) named parkingSpot with the appropriate data members.

Part B)

For the previous question:

- Create a function name getLevel() to get the level a parking spot is on (1, 2, or 3) from the program user. If the user enters a wrong number, the program should let the user know and give opportunity to enter a correct selection.

Part C)

For the previous question:

- Create a function named getRow() to get the row a parking spot is on (A, B, C, or D), the code show avoid incorrect entries but forcing the user to enter on the the 4 possible rows.

Part D)

For the previous question:

- Create a function named getVehicle() to get the type of verhicle (motorcycle, car, bus) parked

Part E)

For this question, you will submit 2 file (your .cpp file and your myParking.txt)

Using all previous questions and sample code (writing to file from Module 3) to write a program for a parking of 20 spots. Your program will allow each driver who parked to enter the level, row, and vehicle they park. This information is then write to a a file named myParking.txt.

Your txt file will look like:

# Level Row Vehicle

1 2 C Bus

2 1 B Motorcycle

3 ...............................

Tutor Answer

anamae12
School: University of Maryland

Hi, here is your assignment. by the wa...

flag Report DMCA
Review

Anonymous
I was on a very tight deadline but thanks to Studypool I was able to deliver my assignment on time.

Anonymous
The tutor was pretty knowledgeable, efficient and polite. Great service!

Anonymous
Heard about Studypool for a while and finally tried it. Glad I did caus this was really helpful.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors