You are on page 1of 6

REPORT MINI PROJECT

DBV10023
BASIC C PROGRAMMING
SESSION NOV 2020 - APR 2021

NAME:
NUR ATHIRAH SOFEA BINTI HASBULLAH
NURSHAZLEEN BINTI KAMARUDIN
ANIS SYAHIRAH BINTI SUHAIMIN
HAIRUNNISA BINTI BAZIT
NO TITLE PAGE
1 INTRODUCTION MINI PROJECT 1
METHODOLOGY
 Variable
2 2
 Data type
 Function
3 Flowchart

4 Discussion

5 Conclusion

TABLE OF CONTENT
INTRODUCTION

The main project of this software is to make an airline reservation system and to
make it convenient for the customers to book the flights as when they require such
that they can utilize this software provides options for viewing different flights
available with different timing for a particular date and provides customers with the
facility to make reservation, to modify, or cancel the reservations at any time. This
system helps smoothen the process, save time and money. In this system, the user
has to login first and enter customer details such as name, id, age, and phone
number to proceed the reservation system. Then the user has to enter the seat
number, flight destination and flight time. After that, the booking is done. The user
also can choose between business class and economy class. The last feature of this
project is about to cancelling the tickets which can be done by quit the system. The
system does not create an external file to store the user’s data permanently. The
main objective of this system is to identify and easily resolve any issues regarding
the passengers and the flights. We have been given a task to develop a flight
reservation system based on the information given from our lecturer.
METHODOLOGY
No Variable Use Data Type Use Description
1. name[40] char to declare character name[40] array
for how many letters

2. id[1] int to declare number id


3. age[1] int to declare number age
4. no tel[1] int to declare number no tel
5. username[50] char to declare character username[50]
array for how many letters
6. password[30] char to declare character password[30]
array for how many letters

7. details ab[40] struct to store details ab[40] into data type


8. seat int to declare number seat
9. booked int to declare number booked
10. user[20] char to declare character user[20] array for
how many letters
11. menu select char to declare character menu select
12. a int to declare number a
13. b int to declare number b
14. e int to declare number e
15. num int to declare number num
16. option int to declare number option

FUNCTION USE :
No Function Use Description
1. menu_purchase ticket This function is used to choose ticket class

2. details_bc This function is used to enter data for business


class tickets
3. details_ec This function is used to enter data for economy
class tickets
4. main_seat This function is used to booked seat number

DISCUSSION

Talking about the features of this Airline system, the user has filled their
information such as name and phone number. The user can also view all the
available flight records. Then, the user has selected the seat class whether to
choose Business or Economy class. Then the system displays available seats, and
the user has entered that particular seat number in order to reserve it. After reserving
a seat, that particular seat won’t be available anymore for other users. After this, the
booking is done. The last feature of this project is about cancelling the tickets which
can be done by quit the system. The system does not create an external file to store
the user’s data permanently.

CONCLUSION
This mini project is implemented in groups. We divide all the works to each
member in to make this project move smoothly. We manage to use chapter 1 until
chapter 5 in our code for the program development in this project. For example,
base in C Programming (Introduction to C Language control instructions, functions
Modular Programming pointers and arrays and string and structures. So, we all had
learnt a lot of knowledges about the C Programming from this mini project. We learnt
and more understand about the uses for each type of coding We uses each type of
coding in this mini project accordingly and make it suitable to the questions given.

This mini project is about airline ticket reservation system coding, we need to use
some functions, variables and data types in this program, we need to show the
output such as passenger data, view current data, search and edit light booking and
also current seat availability on each date. Airline reservation systems include
passenger reservations, airline schedules, and ticket records. An airline's direct
distribution works within their reservation system, as well as pushing out information.
The second type of direct distribution channel are consumers who use the internet or
mobile applications to make their reservations Check-in is an important and the first
procedure for an airport passenger, as passengers are required by airline regulations
to check-in at certain moments before a flight departs. The airline check-ins are one
of the main functions for the airline, it is also important to check and screen the
luggage that goes into the aircraft for the passenger as well as the security of the
airport
From this assignment, we have learnt to implement a few concepts in the future
projects such as functions, switch statement and do...while statement, arrays,
pointers, char and structures in the program. We have also learnt to create flow
charts for explaining the program using Code block software.

You might also like