Code: Select all
#include <stdio.h>
int main()
{
int a;
printf("Enter a value above or below 50...\n\n");
scanf("%d", &a);
if (a > 50)
printf("You entered a number over 50 :)\n\n");
else if (a == 0)
printf("You entered zer0 hehe.\n\n");
else
printf("You entered a numba below 50 =-]\n\n");
printf("...........................................An 'effort' by Pointer88 :)");
return 0;
}
aye i aint doing to bad i think, i've decided im going to try and learn C, i've remember all of the above without turning to my notes on what to write considering i didnt have a clue what any of that printf or scanf etc... meant yesterday, i do today
click HERE to see my little effort in action dont worry i guarentee you its clean and nothing bad about it and only contains the above ^^^^ code.
reckon im going anywhere? note i made this after a few hours of reading/trying to understand what the basics are, and im willing to learn
id be thankful if anyone could give me any pointers about learning C?
thanks