Discuss the below:
Q: Create a C++ program that has a class called flight with the following attributes:
date, flight_no, from, to, seats, price.
Create an array of 3 objects of this class. Write a member function that asks the user for these values, 3 times and write a function that displays these values in a tabular form on the screen.