Code the Solution – Provide a C++ Source Code in this section. The source code shouldinclude comments as an explanation of what the code is doing. IMPORTANT, thevariables used as part of the code must be commented. In addition, the program’s outputshould be included in the report.USE FUNCTIONS AND ARRAYSAirplane Seating AssignmentDesign a C++ program that can be used to assign seats for a commercial airplane. The airplanehas 15 rows, with six seats in each row. Row 1, 2, and 3 are first class, rows 4 through 7 arebusiness class, and rows 8 through 15 are economy class. Your program must prompt the user toenter the following information:a. Ticket Class Type (First, Business, or Economy)b. Desired seat (row and seat (A-F)). Do an input validation depending on the class choicein Part (a).The program asks to the user to enter the row and seat number for ticketsbeing sold or the program automatically assigned the seat upon availability when the userselect the desire class Type (First, Business, or Economy). If the row and seat selected byuser is not available, the program can ask to the user to make another selection orassigned automatically the seat taking into consideration availability in the sectionselected by user. The program asks to the user quantity of seats are interested to buy ineach transaction. Input Validation: When someone, requests a particular seat, theprogram should make sure that seat is available before it is sold. c. The program displays a receipt. (Assign price to airplane tickets depending on classtype).d.Every time a ticket or group of tickets is purchased, the program updates the number ofseats available in each section and the number of seats taken, and displays it on theconsole output.