When multiple scanf() statements are encountered in the code, then, except the first scanf() statement, all others are skipped, that is, there is no prompt for input for those scanf() statements when the code is run.
I have a tried a few suggestions. For eg, use of flushall() was suggested on some site, but that gives a compilation error.
Any help greatly appreciated. Thanks.