Categories: Homework on time

QUESTION 1At the East Campus Garage: – A parking spot can be

QUESTION 1At the East Campus Garage: A parking spot can be.
QUESTION 1At 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 busCreate a structure (struct) named parkingSpot with the appropriate data members.QUESTION 2For 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.QUESTION 3For 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.QUESTION 4For the previous question: Create a function named getVehicle() to get the type of verhicle (motorcycle, car, bus) parkedQUESTION 5For 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 Vehicle1 2 C Bus2 1 B Motorcycle3 ..
QUESTION 1At the East Campus Garage: A parking spot can be

Don't use plagiarized sources. Get Your Custom Essay on
QUESTION 1At the East Campus Garage: – A parking spot can be
Just from $13/Page
Order Essay
superadmin

Share
Published by
superadmin

Recent Posts

Consider the following information, and answer the question below. China and England are internation

Consider the following information, and answer the question below. China and England are international trade…

4 years ago

The CPA is involved in many aspects of accounting and business. Let’s discuss some other tasks, othe

The CPA is involved in many aspects of accounting and business. Let's discuss some other…

4 years ago

For your initial post, share your earliest memory of a laser. Compare and contrast your first percep

For your initial post, share your earliest memory of a laser. Compare and contrast your…

4 years ago

2. The Ajax Co. just decided to save $1,500 a month for the next five years as a safety net for rece

2. The Ajax Co. just decided to save $1,500 a month for the next five…

4 years ago

How to make an insertion sort to sort an array of c strings using the following algorithm: * beg, *

How to make an insertion sort to sort an array of c strings using the…

4 years ago

Assume the following Keynesian income-expenditure two-sector model:

Assume the following Keynesian income-expenditure two-sector model:                                                AD = Cp + Ip                                                Cp = Co…

4 years ago