C-language
February 23, 2010#include <conio.h>
#include<stdio.h>
main<>
<
int 8age;
clrscr<>;
printf<”Enter your age:”>;
scanf<”%i”, &age>;
if<age >=18>
<
printf<”You’re age is %i”.age>;
printf<”\nYou are allowed to register and vote.”>;
>
else
<
printf<”You are too young to register &vote!”>;
>
getch<>;
return<0>;
>
All comments are moderated. Your comments will not appear here unless approved by the blog owner. Thank you.




