Welcome to Westonci.ca, where curiosity meets expertise. Ask any question and receive fast, accurate answers from our knowledgeable community. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

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.


Sagot :

Thank you for trusting us with your questions. We're here to help you find accurate answers quickly and efficiently. We appreciate your visit. Our platform is always here to offer accurate and reliable answers. Return anytime. Keep exploring Westonci.ca for more insightful answers to your questions. We're here to help.