Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Airlines are often concerned with the efficiency of their routes. Write a MATLAB program to prompt the gate agent to enter the flight number,
Airlines are often concerned with the efficiency of their routes. Write a MATLAB program to prompt the gate agent to enter the flight number, the aircraft capacity, and the number of passengers on the flight. The program will output the percentage of the aircraft that is full for the flight. One example of running the program for a Delta flight on an MD-88 would be: Enter the flight number: DL 2463 Enter the airplane capacity: 149 Enter the number of passengers on this flight: Flight DL 2463 is 72% full. 107 Note that the highlighted values are the user input. These values will not be highlighted in your output to the command window. To demonstrate that your code works, you are to do the above example and guarantee that the output in the Command Window for this example is exactly as above. Your .m file and the output to the command window for the example above are to be submitted.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started