User talk:AhElshal

'''Kafrelsheikh University Faculty of Computers and Information Software Engineering Department Level Four'''

Name Graduation Project (flightengs)

Problem Definition

In this project, the aim is to stimulate the basic concepts of airline reservation system. The system enables the customer to search for airline flights on a specified dates and to choose a flight based on some details like availability. The customer can also reserve a flight or cancel his reservation. The system displays all the flight’s details such as flight number, name, price and duration of journey. When the system displays list of available flights, the customer can choose a particular flight and to book a seat. To book a flight the system asks the customer to login if he/she already member otherwise sign in. The system also allows the customer to cancel his/her reservation, if any problem occurs.

System functionality With GUI, Airline reservation system (ARS) should offer the following main functionalities: 1- Add new user to airline reservation system. 2- Search for airline flights on a specified date. 3- Choose a flight based on the details. 4- Cancellation of reservation. 5- Displays all the flight’s details. 6- Count the kilometers for each passenger if more than 50000km then 40% discount. 7- Provide waiting list reservation. (Optional) You have to Save the data into a database .Detailed Description 1- Add new user to airline reservation system. You should add here 3 users that will insert their information and their passport number. They should add their log in (password is not needed). 2- Login to airline reservation system. When the user logs in, the application will check inside the users list if the login exists. 3- Search for airline flights on a specified date. To do this, the system should contain a list of 5 airline flights. Each flight has flight number, name, price, destination, duration of journey, kilometers, plane details, flight passengers' details. 4- Choose and reserve a flight based on the details. When the results of the functionality 3 are displayed, the customer will choose a flight to reserve. Its choice will be stored into list of choices. The customer, can see its choices. 5- Cancellation of reservation. When the customer cancel his reservation, the concerned flight is deleted from the list of choices. 6- Displays all the flight’s details. When the customer choose one flight, he can display all its details. 7- Count the kilometers for each passenger if more than 50000km then 40% discount. Follow this: in class Passenger (or user), we should have Count_km instance variable initialized to 0 for first value, in Flight class you have Kilometers as instance variable for example 1304km from Riyadh to Tabuk. Then construct method in Flight class: - For each Passenger add old value for Count_km to value of Kilometers. - Check if the Addition result more than 50000km then 40% discount. - Count the kilometers for each passenger if more than 50000km then 40% discount