C program to check whether a person is eligible for voting or not...!!



 #include<stdio.h>
#include<conio.h>
void main()
{
int age;
clrscr();
printf("enter your age to check you are elizable for voting or not=");
scanf("%d",&age);
if(age>18)
{
printf("%d you are elizable", age);
}
else
{
printf("you are not elizable for vote",age);
}
getch();
}


Comments

Popular posts from this blog

Layout design in Android Studio

how to make pendrive bootable

HOW TO FORMAT A OENDRIVE