Design a program using pseudocode that will create a customer's bill for an airline.
1. The tickets are purchased based on the seat code.
Seat Type Price
4 - First Class $500
5 - Regular $300
6 - Economy $100
2. Insurance is optional and will cost $75 extra.
3. The final bill will include a 4% sales tax.
4. If the ticket is purchased in advance, a limo ride will cost $15, otherwise a limo ride will cost $30.
5. A 12% discount is given on the ticket price if the customer has flown with the airline before.
The customer will input the followig:
Customer Name
Seat Code (4, 5 or 6)
Insurance Code (0 or 1)
0 - Yes
1 - No
Purchase Date
Today's Date
Limo Needed ( 0 or 1)
0 - Yes
1 - No
First Flight ( 0 or 1)
0 - Yes
1 - No
The design will output the Customer Name, Seat Type (First Class, Regular or Economy) and Total Bill.



Answer :

Other Questions