#include<stdio.h>
#include<conio.h>
void main()
{
int age;
clrscr();
printf("\n enter the age of voter:");
scanf("%d",&age);
if(age>18)
printf("\n voter is eligible");
else
printf("\n not eligible");
getch();
}
#include<conio.h>
void main()
{
int age;
clrscr();
printf("\n enter the age of voter:");
scanf("%d",&age);
if(age>18)
printf("\n voter is eligible");
else
printf("\n not eligible");
getch();
}
No comments:
Post a Comment