Hi I just started C as my first programming language.
I was playing around a bit with
printf( " Type any number : " );
scanf( "%d", &x );
printf( "You entered %d.\n", &x );
x's address instead of value. Fix like this:
printf("You entered %d.\n", x);
scanf wants the address where to store the result,
printf can take the value itself.