ONLINE C CODING CONTEST
Railway reservation system
This is a model of railway reservation system. Each candidate belongs to one of the following category:
1.General
2.women
3.Elder(age 60+)
4.women+Elder
A person can reserve tickets for a particular journey if available.
Various concession plans are available for candidates of specific category fir each sessions as shown below
Category | Discount |
Women | 1% |
Elder(>60) | 5% |
Women+Elder | 6% |
General | 0% |
Assume that the ticket price for general is fixed to be Rs.100. You need to implement system. The program should display the number of available seats in each category initially. One user can book any number of seats if available. User will enter the number of seats he required in each category and the details of each passenger. The program should calculate the total amount of money he should pay. If he agrees to pay the money then apply the changes. Max number of seats in the train 50. As an improvement the program can be modified to include seat numbers for each seat and providing the option for the user to select the desired seat numbers. The seats once allocated should not be allocated to another person unless the booking has been cancelled. This feature may or may not be added but may pay a crucial role in case of more than one correct solutions to decide the winner. The winner will be decided based on the functionality of the code, Features implemented, documentation, and efficiency of the program. Customize your code so as to add extra features. We are not providing any of the sample inputs or outputs. You use your own ideas and creativity and emerge out with your best solution for this problem. Implement as many features as possible. Send your solutions to the mail perizia3.0@gmail.com on or before 31st March 2011. The subject of the mail should be “Online C Competition”. The mail should include the details such as your contact number, name, course, year, college, c compiler and the platform used.