Friday 4 September 2015

wap to print that a person can vote or not

#include<stdio.h>
#include<conio.h>
void main()
{
int age;
clrscr();
printf(“Enter the age:”);
scanf(“%d”, &a);
if(a<18)
printf("can't vote");
else
printf("can vote");



}

No comments:

Post a Comment