Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a C# program in Visual Studios Console App Project for an airline company that accepts either an integer flight number or string airport code

Create a C# program in Visual Studios Console App Project for an airline company that accepts either an integer flight number or string airport code from the options in the following chart:

Flight Number Airport Code Airport Name

Time

201 AUS Austin 0710
321 CRP Corpus Christi 0830
510 DFW Dallas Fort Worth 0915
633 HOU Houston 1140

Pass the users entry to one of two overloaded GetFlightInfo() methods, and then display a returned string with all the flight details. For example, if the input was 201, the output would be: Flight #201 leaves Austin (AUS), scheduled at 0710.

The method version that accepts the integer should look up the airport code, airport name, and time of flight. The method version that accepts a string code should look up the flight number, airport name, and time of flight. The methods should return an appropriate message if the flight is not found. For example, if the input was 101, the output should be: Flight #100 is not a scheduled flight.

Please add comments so I can better understand, Thank You.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Strategic Database Technology Management For The Year 2000

Authors: Alan Simon

1st Edition

155860264X, 978-1558602649

More Books

Students also viewed these Databases questions

Question

2. What are your challenges in the creative process?

Answered: 1 week ago