TELE HEALTHCARE 1 January 12, 2021
QUESTION 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
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
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
For the previous question: – Create a function named getVehicle() to get the type of verhicle (motorcycle, car, bus) parked
QUESTION 5
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 …………………………..
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount! Use Discount Code "Newclient" for a 15% Discount! NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.