Wednesday 18 March 2015

PROGRAM TO FIND VOTER IS ELIGIBLE OR NOT

#include<stdio.h>
#include<conio.h>
void main()
{
int age;
clrscr();
printf("\n enter the age of voter:");
scanf("%d",&age);
if(age>18)
printf("\n voter is eligible");
else
printf("\n not eligible");
getch();
}

No comments:

Post a Comment