codeGK
Code it ALL
Verifying age in C++ - CodeGK

♦ Verifying age in C++

♣ Example1: Verifying age in C++

In this example, Person with age 14 is restricted from entering the PUB.
Example
Input:
Output:
Try_except