Question: Write a C# program to simulate a flight reservation system that generates the flight number dates for one month (i.e 01/01/2017 to 02/01/2017), random time,

Write a C# program to simulate a flight reservation system that generates

the flight number

dates for one month (i.e 01/01/2017 to 02/01/2017),

random time, military time

4 different airports (JFK, ATL, LAX, DFW)

All 16 route possibilities between airports

Fares between 500 and 3000

Fares for 3 different times of day, midday is most expensive

Flights between different cities have different fares

flights between same two cities must have different fares at each time of day.

flight number and time schedule must be the same each day

Ex:

1016, 06/01/2017 at 12:01, DFW to JFK, Cost: $2430,

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!