c program to your age is eligable for vote or not.
//check your age is aligable for vote.
#include<stdio.h>
#include<conio.h>
void main()
{
int age;
clrscr();
printf("Enter Your Age :-");
scanf("%d",&age);
if(age>=18)
{
printf("Your Age is Eligible for vote..");
}
else
{
printf("!lSorry You are not eligible for vote");
}
getch();
}
Output:
EmoticonEmoticon