c++ programing, assignment help

c++ programing, assignment help

QUESTION 1

  1. 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 busCreate a structure (struct) named parkingSpot with the appropriate data members.

    QUESTION 2

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

      QUESTION 3

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

        QUESTION 4

        1. For the previous question: – Create a function named getVehicle() to get the type of verhicle (motorcycle, car, bus) parked

          QUESTION 5

          1. 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 Vehicle1 2 C Bus2 1 B Motorcycle3 …………………………..

"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