I have a very small piece of code which will not run correctly.
I need to input some data on the key board before the printf statement will run.
it appears that the scanf statement runs before the printf. why is this ?
thanks in advanceCode:#include <stdio.h> int main() { int number; printf( "Please enter a number: " ); scanf( "%d", &number ); }
trevfur