Help ODU organize the car parking during a football game. You will need to develop a machine to automate the
process of choosing the parking lot for the visitors (football fans). There are 9 available parking lots (Lot-A,
Lot-B, …… Lot-I) distributed in a 3x3 grid as in Figure-1. The maximum capacity of each lot varies as in the
figure. The visitor(s) can access the parking lots only via one of three gates (Gate-A, Gate-B and Gate-C). GateA
is the closest to the main entrance of the football stadium, and Gate-C is the farthest. Visitors are only
allowed to enter the stadium via the main entrance. The cost of parking in each lot varies based on the distance
between the lot and the football stadium as shown in Figure 1. The closer the parking lot to the stadium’s main
entrance, the more expensive the parking cost is. The starting cost of parking in lot-A is $25.00, and the cost of
parking in each lot decreases by the amount of a $2.50 when you move one step away on the parking grid.
Moves on the grid are only allowed in the horizontal or vertical directions. No diagonal moves are allowed. The
price of parking also varies based on the total available parking spots. Once the total number of empty parking
spots is less than 50, the price of parking in all parking lots will go up additional $5.75. Once the total number
of empty parking spots is less than 25, the price of parking in all parking lots will go up another additional
$7.25. For example, if the cost of Lot-A initially was $25.00, once the total number of empty parking spots is
less than 50, the cost of Lot-A becomes $30.75. And once the total number of empty parking spots is less than
25, the cost of Lot-A becomes $38.
hello,
place your confidence in my C++ language knowledge and experience.
after reading your requirements i can assure you i'll provide all % categories included in the solution, and avoid % penalties.
also the agreed deadline of Saturday, December 3rd at 11:00pm EST will be respected for the delivery.
g++ compliant C++11 code will be provided.
greets, srdjan