Creating a Railway ticket booking system using Java. The following question is provided in Zoho's 3rd round techincal Round.
Conditions for creating the system:
There are a total of 35 berths for 35 confirmed tickets, 30 berths for 5 RAC tickets and 3 tickets in waiting-list. If the waiting-list ticket count goes above 5, print as ‘No tickets available’. The following passenger details should be obtained from the user.
Name,Age and Berth Preference should be obtained from the user.