/* IF ELSE, Program to check whether a person is eligible for voting or not. */ #include<stdio.h> #include<conio.h> void main() { int age; clrscr(); printf("\n\n Enter Your AGE = "); scanf("%d",&age); if(age>=18) { printf("\n\n You are eligible for VOTING"); } else { printf("\n\n You are NOT eligible for VOTING"); } getch(); }