HERE is my assingment below, please help me and derive for me the ALGORITHM, PSEUDOCODE , FLOWCHART, and a TRACE TABLE to prove it correctiveness.
.AIRLINES RESERVATIONS SYSTEM
Eagle Airlines Uganda Ltd
has just purchased a computer for its new automated reservations system.
The general manager has asked you to program the new system. You
are to write a program to assign seats on each flight to the airlines planes (capacity 10
-Your program should allow a customer to specify what class he wants (Economy or First class). If the person wants First class section he should be assigned seats 1-5 and for Economy, seats 6-10.
-Your program should print the boarding pass indicating the
person’s seat number and whether it is in the first class or economy section. A seat should not be assigned if it is already assigned.
-When the First class section is full, your program should ask the person if it is acceptable to be placed in the economy section (and vice versa). If yes, then make the appropriate seat assignment. If no, then print the message “Next flight leaves in five hours”.
Hints and Suggestions
• You can use radio to allow the user specify the class of interest
• The seats 1-10 can be represented as an array index whose values are either marked 0 (for free) or 1 (for occupied).
• Iteration and repetition structures would be necessary to search through the array.
• You can use a message box or text box to display the results of your assignments.