Question: //build a simple flight system in c language many thanks for your help //requirements: //1. each flight in the system should be stored with its

//build a simple flight system in c language many thanks for your help //requirements: //1. each flight in the system should be stored with its flight name, // flight departure,flight arrival, capacity(how many seats for passengers) //2. each flight should have a seat map that allows users to book or cancel //3. seat map should be updated automatically(no need to worry about sync issues) //4. users can only cancel or book a flight with a seat //(eg: which means they can not book a flight without mentioning which seat they want) //5. appropriate console output(eg: printing alert information //(eg: when users trying to book an invalid seat on a flight))

//available cities are LA, SYD, TKY, HK, BEIJING //there are 5 airlines in total,(name freely. those flights should cover all 5 cities as destination) //flights are single way flights.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!