Very common complaint. When you hit enter, the input stream gets a newline put into it. That newline char is NOT included in your variable, but it's left in the buffer. When the next scanf() is...
Type: Posts; User: Adak
Very common complaint. When you hit enter, the input stream gets a newline put into it. That newline char is NOT included in your variable, but it's left in the buffer. When the next scanf() is...