C program to check whether a person is eligible for voting or not...!!



 #include<stdio.h>
#include<conio.h>
void main()
{
int age;
clrscr();
printf("enter your age to check you are elizable for voting or not=");
scanf("%d",&age);
if(age>18)
{
printf("%d you are elizable", age);
}
else
{
printf("you are not elizable for vote",age);
}
getch();
}


Comments

Popular posts from this blog

BOOT YOUR PHONE IN RECOVERY MOOD- HARDRESET

prime numbers program