An airplane has both first-class and coach seats. The first-class tickets cost more than the coach tickets.
Question:
An airplane has both first-class and coach seats. The first-class tickets cost more than the coach tickets. The airline wants a program that calculates and displays the total amount of money the passengers paid for a specific flight. Complete an IPO chart for this problem. Desk-check the algorithm using 9, 52, $125, and $90 as the number of first-class tickets sold, the number of coach tickets sold, the price of a first-class ticket, and the price of a coach ticket, respectively. Then desk-check it using your own set of data.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell
Question Posted: