Skip to content

Instantly share code, notes, and snippets.

@piqueprajwal
Created June 17, 2018 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piqueprajwal/058fecce8a023c3daed3e0cd228bf66d to your computer and use it in GitHub Desktop.
Save piqueprajwal/058fecce8a023c3daed3e0cd228bf66d to your computer and use it in GitHub Desktop.
programmingfaster.com
#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