scanf from learning lad youtube channel
#include <stdio.h>
int main()
{ int age ;
printf("please enter your age/n");
scanf("%d",&age);
if( age>= 18) {printf("you are eligible/n"); }
else { printf("you can go home");
};
printf("Hello World");
return 0;
}
Comments
Post a Comment