0% found this document useful (0 votes)
12 views6 pages

Code Interface

Uploaded by

nargisimran73
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views6 pages

Code Interface

Uploaded by

nargisimran73
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Programming Fundamentals

Fall 2024

Project Details

Project

Project Title AIR MATRIX

Registration Number 2024-CS-155

Summary This project is a comprehensive Flight Management System that


allows a user to manage records for pilots, air hostesses, flights, and
weather conditions effectively. The system uses arrays, functions,
switch statement along with if-else-if selection structure. Key
functionalities for each menu include options to add, delete, update,
and list records. The program is structured into distinct menus for
managing each component, including pilots, air hostesses, flights,
and weather conditions, making it straightforward for users to
navigate and perform specific actions within each category. For
instance, in the Pilot Menu, users can add new pilots by providing
their names and license numbers, delete pilots by selecting an index,
and update or view the complete list of stored pilots. Similarly, the
Air Hostess Menu allows for the management of air hostess records,
including their duty hours, enabling users to check the availability of
each hostess at a given time. The Flight Menu offers a range of
features for handling flight details, such as adding new flights,
listing all flights, updating flight times, and managing customer
records for each flight. Additionally, a Weather Menu allows users
to input weather conditions for up to seven days manually, with
options to list all entries for convenient viewing. It ensures the
safety of both passengers and crew. I have to tried to make each
feature clear and functional ,allowing easy access to information.
Shortly, it is an effective resource that supports the smooth and
efficient management of AIRLINE operations .Through its design
and added features, it delivers a practical solution to the daily needs
of airline staff and managers in a straightforward and accessible
way.

Features 1. Pilot Record Management (add,update,delete,list)


2. Air Hostesses Record(add,delete,update,list)
3. Flight Management (add,update,list,managing customer
record)
4. Weather Condition Record(adding record manually & listing
it.)

Details of Interfaces

Main Menu Details

Option 1 Pilot Menu

Purpose It will connect user to the pilot menu , where the manager can add ,
delete, update or list the record of pilots.Users can add new pilots by
providing their names and license numbers, delete pilots by
selecting an index, and update or view the complete list of stored
pilots.

Input/ Output For input, we press 1 in the part where choice is asked.The output
comes out to be the PILOT MENU as,
------------------------------[ Pilot Menu ]----------------------------------
1. Add Pilot
2. Delete Pilot
3. Update Pilot
4. List Pilots
2. Delete Pilot
3. Update Pilot
4. List Pilots
5. Back to Main Menu
Enter your choice:
The user can enter the respective choice from the list of functions he
want to perform.

Validation On entering input of wrong number instead of valid numbers, it


shows a statement as:” Invalid choice. Try again.”and again
displays the main menu..On entering a string input,the program gets
corrupted and displays infinite output. Iam trying to add the same
resposnse of invalid choice.

Screenshot

Option 2 AIR HOSTESS MENU

Purpose It will connect user to the airhostess menu , where the manager can
add , delete, update or list the record of airhostesses. It also displays
the duty hrs of the air hostess.The Air Hostess Menu typically
allows the management of air hostess records, including their duty
hours, enabling users to check the availability of each hostess at a
given time.

Input/ Output On input of 2 in main menu, the user is connected to the airhostesses
record system.The optupt comes out as:
---------------------[ Air Hostess Menu ]----------------------------------
1. Add Air Hostess
2. Delete Air Hostess
3. Update Air Hostess
4. List Air Hostesses
5. Back to Main Menu
Enter your choice:
The user can enter the respective choice from the list of functions he
want to perform.
Validation On input of any value other than the listed numbers for performing
task from 1 to 5, the program shows “Invalid choice.”& again shows
the options to select the input from the airhostesses menu...On
entering a string input,the program gets corrupted & displays
infinite invalid choice option. I am trying to add the same response
of invalid choice.

Screenshot

Option 3 Flight Menu

Purpose It will connect user to the flight menu , where the manager can add,
delete, update or list the record of flights. Along with it, it contains
the list of customers and an option to add customers.

Input/ Output For input, we press 3 in the part where choice is asked in the main
menu.The output comes out to be the FLIGHT MENU as:
-----------------------------[ Flight Menu ]---------------------------------
1. Add Flight
2. List Flights
3. Update Flight Time
4. Add Customer
5. List Customers
6. Back to Main Menu
Enter your choice:
The user can enter the respective choice from the list of functions he
want to perform.

Validation On entering input of wrong number instead of valid numbers, it


shows a statement as:” Invalid choice. Try again.”and again displays
the FLIGHT MENU. On entering a string input,the program gets
corrupted. Iam trying to add the same response of invalid choice for
string input.

Screenshot

Option 4 Weather Menu

Purpose The Weather Menu contain two options for users. It allows users to
input weather conditions for up to seven days manually, with
options to list all entries for convenient viewing. It ensures the
safety of both passengers and crew.

Input/ Output For input, we press 4 in the part where choice is asked in the main
menu. The output comes out to be the Weather Menu as:
--------------------------[ Weather Menu ]----------------------------------
1. Add Weather Condition
2. List Weather Conditions
3. Back to Main Menu
Enter your choice:
The user can enter the respective choice from the list of functions he
want to perform.

Validation On input of any value other than the listed numbers for performing
task from 1 to 3, the program shows “Invalid choice.”& again shows
the options to select the input from the airhostesses menu...On
entering a string input, the program gets corrupted & displays
invalid choice infinitely. I am trying to add the same response of
invalid choice.

Screenshot

You might also like