An international airport has five gates of departure thus:
1 - Europe
2- Brazil
3- Africa
4 - Asia
5- United States
Every traveler's ticket at the airport bears a number on the cover. The number on the ticket cover corresponds to the traveler's departure gate, which is not obvious. Use the concept of functions to write a C++
program that asks a traveler at the airport for first name and the number printed on the ticket cover. The program should print the name entered by the traveler and the gate of departure so the traveler knows what
gate to proceed to. For example, if the traveler entered Chris and 1 respectively, the program should print "Welcome chris, your gate is Europe."
Note the following:
1. Your program must have at least two functions: main() and a second function that will do the job.
2. The second function (or functions, if you chose to have more than one extra function) should be called from main().
Points distribution:
main() - 3 points
The other function - 12 points
Total points - 15