View Single Post
Go4Expert Member
6Feb2013,19:18  
Chong's Avatar
Hi
As a quick fix, put fflush(stdin); immediately after your scanf("%d",&x);
shabbir like this