C language train booking source
no vote
Application background Each route information involved: starting point, end point, station name, number, time, fares, seat number. 2 as a signal system, all data can be put in memory. the function and operation of the 3 system can be realized as follows: The query route: station name. Enter the following information according to visitors to the destination: train, station. II. To undertake booking business: query according to the requirements of the train seats, if there are more than votes, for customers for booking procedures, output seat number; if already full or more than the amount of votes less than booking amount, re query the customer requirements, if the need can register a waiting list Key Technology Using the case statement to achieve the user interface, the user input needs of digital code, the program will be transferred to the corresponding function, to achieve the corresponding functions. At the beginning