Created
June 17, 2018 19:25
-
-
Save piqueprajwal/058fecce8a023c3daed3e0cd228bf66d to your computer and use it in GitHub Desktop.
programmingfaster.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include<conio.h> | |
using namespace std; | |
void Age(int); | |
int main() | |
{ | |
int age; | |
cout<<"enter your age"; | |
cin>>age; | |
Age(age); | |
getch(); | |
return 0; | |
} | |
void Age(int age) | |
{if (age>=16) | |
cout<<"eligible"; | |
else | |
cout<<"not eligible"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment