Here's my code:
int main(void){
int i, k;
printf("Enter some number: \n");
scanf("%d", &i);
printf("%d\n", i);
printf("Enter some other number: \n");
scanf("%d", &k);
printf("%d", k);
return 0;
}
[UPDATE]
Let me clarify a bit more. Instead of printing out the first output, the program skips to waiting for the first input. When I enter the input, nothing happens.
This post has been edited by recheej: 22 January 2013 - 09:47 AM

New Topic/Question
Reply



MultiQuote




|