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

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

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 ………………………….

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper