A C program to find the person is eligible for voting or not.
October 05, 2018 -
C Program, Computer
// A program to find the person is eligible for voting or not.
#include#include
void main()
{
int age;
printf("Enter your age:");
scanf("%d",&age);
if(age >=18)
printf("You are eligible for voting");
else
printf("You are not eligible for voting");
getch();
}
Output:
