I am Novice Koder
❤
Home
Program to see that user is eligible to vote or not in c++
Program to see that user is eligible to vote or not in c++
Anonymous
April 01, 2016
#include<stdio.h>
#include<conio.h>
void main() {
int n;
printf("pls enter the age");
scanf("%d",&n);
if(n>=18)
{
printf("you're eligible to vote");
}
else
{
printf("you're not eligible to vote");
}
getch();
}
Post a Comment
0 Comments
0 Comments