The FDD diagram (functional decomposition diagram)3
The Pseudo code5
The implementation of the code7
This report will be based on a program that was created for an airline company. The program will be designed in Microsoft Visual Studio 2008. The airline company had stated that they required a program that allows users to book seats upon their ten seat plane. The plane is divided into two classes, first and economy class. Both of these classes hold five passengers each. First class is designed as seats 1-5 and Economy class is seats 6-10. The main objective originally was for the program to assign a seat to the user, but for a more advanced program, the program should allow the user to book the seat they require. If the seat has been booked the program should prompt the user informing them that the seat is booked. If either or both classes are full, the program should also prompt this message. Lastly, if the user does not require booking anymore seats, the program should end with the message “The next flight leaves in three hours”. Purpose
The purpose of the SHARMA AIRLINE reservation system is to make the lives of users wanting to book seats on a plain, a smooth and easy process. It will reduce the amount of customers that queue up on travel agency to reserve seats on a plane, when it can all be done at home with ease. The Discussion
The approach towards the development of this program is vital. There are many techniques that need to be taken into consideration to help the development of the program, the assignment states that there are two classes, First class (seats 1-5) and Economy Class (seats 6-10). It also states that a technique called “one dimensional array” must be used. An array is blocks of elements, these blocks of elements are placed into memory locations that are close to each other. This...