Question: C# Advanced Method Concepts Create a program for Smalltown Regional Airport Flights that accepts either an integer flight number or string airport code from the

C# Advanced Method Concepts

C# Advanced Method Concepts Create a program for Smalltown Regional Airport Flights

Create a program for Smalltown Regional Airport Flights that accepts either an integer flight number or string airport code from the options in Figure 8-33. Pass the Flight number Airport code Airport name Austin 201 AUS Time 0710 0830 CRP Corpus Christi 321 510 633 DFW Dallas Fort Worth 0915 HOU Houston 1140 Figure 8-33 Flight information for Smalltown Regional Airport user's entry to one of two overloaded GetFlightInfo() methods, and then display a returned string with all the flight details. The method version that accepts an integer looks up the airport code, name, and time of flight; the version that accepts a string description looks up the flight number, airport name, and time. The methods return an appropriate message if the flight is not found. You need to use a parallel array to implement the look up logic. Write two overloaded methods, then call both methods in the main program to show how these methods function

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!