Get 50% OFF on AI & Full Stack Courses
📞 Call Now: +91 8448811320
Home › Community › WAC to check whether a person is eligible to vote.

WAC to check whether a person is eligible to vote.

Soham  •  Jul 17, 2026  •  48 views
0

1 Answers

Soham
Jul 17, 2026
#include <stdio.h>

int main()
{
int age;

printf("Enter age: ");
scanf("%d", &age);

if(age >= 18)
printf("Eligible to Vote");
else
printf("Not Eligible to Vote");

return 0;
}

Your Answer

Will not be displayed publicly
Talk to Advisor Online now
1