7. Write a program in C++ using a random access file function to create a data base for a reservation system (bus/railway/air) using the information such as
name of the passenger sex
age
starting place of the journey destination etc.
The program should have the following facilities:
(i) to display an entire passenger’s list
(ii) to display only a particular record
(iii) to update a record
(iv) to delete a record
(v) to sort a record (name is a key for sorting)