Click here to Skip to main content
16,021,823 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Question:
You are the programmer and a manager from an airline approaches you to request you to develop an airline system for his team to manage. Currently, all passengers details are kept and verified manually. There exists no computer system to manage the airline processes. You are required to develop in Python the ticket booking processes of the airline system taking into consideration the following:
1. Ticket sale can be from different travel agents, including the airline. Each ticket will have a reference number. One reference number can have one or more passengers attached to it.
2. If ticket was purchased at a particular travel agent, airline should pay back agent 10% of the selling price of the ticket.
3. Ticket validity should be 60 days on date of purchased
4. Upon purchasing a ticket, a passenger should receive an email with his booking and purchasing details.
5. Upon purchasing a ticket, the system should send a mail with all details containing covid-19 information pertaining to the destination country in question. (you are not required to write full covid-19 information, but to show the logic of a sample text information)
Furthermore, the manager wanted the programmer to add the departure process in the system. But as the long-term storing process such as a database system is not ready, he wanted the programmer to show him a prototype of how the departure process will look like. The following processes should be included in the departure process:

1. The verification of the passport number for each ticket verified.
2. The verification of the ticket number.
3. The number of hold and hand baggage with their corresponding weight.

What I have tried:

It's my first time learning python and I got this question to do. I only input the small details that are required till now
Posted
Updated 5-Jun-22 6:16am
v2
Comments
Patrice T 5-Jun-22 11:56am    
And you also have a question ?
DEEYANKA COONJAN 5-Jun-22 11:59am    
It is the question
DEEYANKA COONJAN 5-Jun-22 12:00pm    
I mean this is the entire question.

1 solution

While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900