Write a program to check person is eligible for vote or not

#include<stdio.h>
#include<conio.h>
int main()
{
int age;
printf("enter the age of person");
scanf("%d",&age);
if(age>=18)
printf("person is eligible for vote");
else
printf("person is not eligible for vote");
}

No comments:

Post a Comment