Reference no: EM132081269
You need a program that is in C language that completes these following tasks :
(the program does not need to be exactly like the document states, it can be changed to be better)
The machine is to be located at the entrance of main gate. This will ensure that a car can park only after the payment is made. The best method will be to simply issue a prepaid parking permit. This is because in case a customer loses the ticket the payment is already made so there will not be any issues.
The machine will have a combination of all three that is; hours ,days, and months......as there will be separate charges for each so the machine must have the combination of these. The machine must allow the monthly parking pass this will be very beneficial to those customers who are parking their vehicles on a daily basis.
The machine will be in charge of all the parking spots in the parking lot. The only constraints would be that you can have your car parked up to 8 hours, and overnight parking is not allowed. Parking permits would be printed from the machine. The machine would track the parking spots by recognizing the number of spots that are not occupied. This will allow a patron to pick any of the available parking spots.
The rates of parking and methods of payment will be displayed to the user as well as a disclosure statement denying responsibility from any damages that happen in the parking lot.The only information that the user will have to enter is which type of parking pass they want. The confirmation screen will display the rate and prompt the user to confirm and insert their payment. As for payments there will be an option for either cash. United states currency is the only type of currency that will be accepted. Coins will be dispensed as change.
The information that is needed to be kept track of is the total amount of money that is due and also the total amount of money that is being added into the machine while at the same time checking if the payment is going over or is missing money.
The information that will be needed by the change dispenser is the amount being charged and the total amount of money that was added to the machine.The type of information that would be needed to be displayed to the user regarding cash payments is what type of cash payment they would be using.
For example, the machine should display the kind of payment that is available that is only cash. The inventory will be controlled by having a two month supply of parking passes that will guarantee that there will never be an outage of passes if a person chooses to purchase a parking permit.
The only information that is necessary is knowing if the machine is getting low on parking permits. The information will be updating at the end of every day and will notify the supplier if necessary. The information will be updated by having a fill spot and will just need to be reset.
The information will not change unless the machine is at a low level of permits and needs to be changed within the week. When keeping track of the amount of money that has been collected the machine will subdivide each type of currency and its value. (For example 5 x $1 bills ,10 x $10 bills, 250 x quarters....etc). In order to ensure there is an adequate amount of change available the machine will be pre-loaded with 300 dollars of bills and coins. It will notify an employee on hand if change ever runs low to add more change for the machine to dispense.