Question: 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:  Write a python code that do the following: 1. A new

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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!