Code Interface
Code Interface
Fall 2024
Project Details
Project
Details of Interfaces
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.
Screenshot
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
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.
Screenshot
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