#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");
}
#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