It presumes the user is not a drunken sod, at that time - true. ;)
Type: Posts; User: Adak
It presumes the user is not a drunken sod, at that time - true. ;)
Give scanf() a char to chew on - throw it a bone:
scanf("%d%c", &num,&bone);
char bone is just garbage, but it can be very useful garbage, even though it's never used. (scanf() also...