I am creating a reservation program for a small company that reserves a stands at trade fairs.
The program requires a data file that contains:
- Trade Fair Codes
- Stands available to reserve
The user types in a Trade Fair code which is then check to see if it exists from the file data and then can then they can add reservations (take away from available stands) or cancel reservations (add to available stands. After this the new amount of available stands is displayed.
Data is then saved to the data file.
I'm confused on how exactly all this would work and in what order, could anyone help by giving me some breif psuedo code?
I know the data from the file must be put into an array, but how would that work? Also how would the program check the code exisits?
Thanks for any help