Question: Question 6: Program Implementation [8 points] Answer ONLY one (A or B) of the following Programs. A) You need to write a python program that
![Question 6: Program Implementation [8 points] Answer ONLY one (A or](https://s3.amazonaws.com/si.experts.images/answers/2024/07/66822cc7c6341_17566822cc7b4102.jpg)
Question 6: Program Implementation [8 points] Answer ONLY one (A or B) of the following Programs. A) You need to write a python program that will ask the user to input the class of an airline ticket for 10 passengers. For each passenger the ticket class input can be either E (Economy), B (Business) or L (Elite) with costs 120, 150 and 200 dollars respectively. The program will finally print the total cost of the tickets. For example: If the user enters E 5 times, B 3 times and L 1 time, then the program will output: Total Cost is: $1250 (which is 5*120 + 3*150 + 1*200 = 1250)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
