/VAirport

Language - C

Primary LanguageC

VAirport

I have Just Started C. And using the basic to Create VAirport Virtual Airport. I'll Keep updating this respo while learning.

#Connect Me: https://www.linkedin.com/in/03prashantpk/

Question You have to go somewhere and you are at the airport. You missed your flight and now you have no time to go some other day. So, you are filtering 3 or 4 fight to book a ticket. Also you have to display your missed flight or departure and your upcoming flight. (using your knowledge till now)

Last Edit on Date: 2 Nov 20. Time: 12:03PM .EXE Not updated Yet.

Output Case 2:

*** Welcome To The Virtual Airport ****

    *               *
    **              **
    ***             ***
    *****************************
    ***************AIR*************D
    *****************************
                    ****
                    ***
                    **
                    *

======== Loading.... ========= Sir, Please Show me Your Ticket. One monent Sir, While I confirm Your details.

Could You Please Enter Your 4 digit PNR: 1221 I am really Sorry Sir but, The Flight matching to this 1221 PNR 6E-512 has already Taken off and its 13:50 PM.

You Can See the Departure Chart here Flight NO | Arrival Departure FROM-TO 6E-512 | 13:30 14:15 DELHI-CCU 6E-51 | 14:25 14:55 DELHI-DMV 6E-26 | 14:40 15:15 DELHI-DUBAI

Sir, Would You like to go today? Enter 1 for YES or 2 for NO 2 Thank You, Have a Nice Day

======================= Exiting VAirport ======================= Created By: https://www.linkedin.com/in/03prashantpk/ Process exited after 9.95 seconds with return value 0 Press any key to continue . . .

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Output Case 1:

*** Welcome To The Virtual Airport ****

    *               *
    **              **
    ***             ***
    *****************************
    ***************AIR*************D
    *****************************
                    ****
                    ***
                    **
                    *

======== Loading.... ========= Sir, Please Show me Your Ticket. One monent Sir, While I confirm Your details.

Could You Please Enter Your 4 digit PNR: 3232 I am really Sorry Sir but, The Flight matching to this 3232 PNR 6E-512 has already Taken off and its 13:50 PM.

You Can See the Departure Chart here Flight NO | Arrival Departure FROM-TO 6E-512 | 13:30 14:15 DELHI-CCU 6E-51 | 14:25 14:55 DELHI-DMV 6E-26 | 14:40 15:15 DELHI-DUBAI

Sir, Would You like to go today? Enter 1 for YES or 2 for NO 1 Wonerful, Just a moment Sir Let Me refresh the Flight list. =========================== Scanning Flights =============================== Here are the list of Flight you can choose for Your Boarding Flight NO Flight NO | Arrival Departure FROM-TO Indigo 6E-513 | 15:05 15:35 DELHI-CCU

Connecting...... =========================== Passenger Details =============================== Please Enter Your First NAME only: Prashant Please Enter Your AGE: 19 Please Confirm Your Age 19 and Name Prashant

Connecting...... ==================== PAYMENTS ==================== Calculating You Fair Your Total Fair is Rs.4399 Would You Like to DONATE to Fight with COVID19? Enter The Amount from Rs.0 to Rs.200 191 Your Total Amount is 4590.00 Now Press 1 to Continue with UPI: 1 Enter Your UPI number only: 961299718 Rs4590.00 has been deducted from your UPI *********@upi.

Processig...... ==================== Printing Your Virtual Boarding Pass ==================== ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Indigo Our Lowest Fair at IndiGo.in

Name Prashant Flight: Indigo 6E-513 PNR:QJR6789 Seat No: 8A Age 19 Boarding: 15:00 PM Departure: 15:25 PM From DELHI To: CCU Date: 2 Nov 20 GATE: T2

Thank you Prashant for choosing indigo today. Please be at the departure gate at the indicated Boarding Time |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

======================= Exiting VAirport ======================= Created By: https://www.linkedin.com/in/03prashantpk/

Process exited after 34.95 seconds with return value 0 Press any key to continue . . .