Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a python code that do the following: 1. A new travel agency just opened up and they are selling tickets at discounted price. Create
Write a python code that do the following: 1. A new travel agency just opened up and they are selling tickets at discounted price. Create a program to help the company calculate the total bill. The program asks the user to enter the country and the number of tickets. The bill is calculated based on the rules below. The company sells only tickets to these countries to start with Country Abbreviation Ind or ind Nep or nep Pak or pak Price per ticket 800 AED 900 AED 1200 AED India Nepal Jeddah In addition, the ticket prices, the company is giving discounts for anyone that buys extra tickets. The discount Jed or Jed 1600 AED is calculated based on the following table. Number of tickets More than 10 Between 7 and 10 Between 3 and 7 Two tickets Discount percentage 25 % 20% 15% 5% 0% Less than 2 After calculating the ticket cost, the program calculates the discount and shows the final bill after applying the discount
Write a python code that do the following:
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