C Program To Check Voter Is Eligible For Vote Or Not By Entering Age
//C Program To Check Voter Is Eligible For Vote Or Not By Entering Age
#include<stdio.h>
int main()
{
int age;
printf("Enter The Age of The Candidate:--");
scanf("%d",&age);
if(age>=18)
printf("Candidate Is Eligible For Vote!!!\n");
else
printf("Candidate Is Not Eligible For Vote!!!\n");
return 0;
}
//C Program To Check Voter Is Eligible For Vote Or Not By Entering Age
#include<stdio.h>
int main()
{
int age;
printf("Enter The Age of The Candidate:--");
scanf("%d",&age);
if(age>=18)
printf("Candidate Is Eligible For Vote!!!\n");
else
printf("Candidate Is Not Eligible For Vote!!!\n");
return 0;
}
0 Comments