Page 1 of 1

Write a program to calculate the fares of seats in airplane. The airplane has three classes i.e., Economy, AC standard,

Posted: Sat Feb 19, 2022 3:22 pm
by answerhappygod
Write a program to calculate the fares of seats in airplane. The
airplane has
three classes i.e., Economy, AC standard, Business Class. The user
will
provide the number of seats in any one of the classes mentioned
earlier.
The user can also compute fares of seats of any combination of the
classes
(Economy, AC Standard, Business Class, AC Sleeper Class). For
Example, the
user wants to calculate the fares of two seats in Economy class, 2
seats in
Business class and two seats in Ac Standard class. Seat in Economy
class
has fare equals 10000Rs. Seat in Ac standard class has fare equals
15000
Rs and Seat in business class has fare equals 20000 Rs. Seat in
business
class has fare equals 25000 Rs. write solution in c