i have never run into this problem before, but suddenly ive had two programs in a row that have started doing this, and i cant figure out why.
a snippet of my code goes as follows:
printf("Chose [blah blah] \n");
and every time the program runs it makes you input twice... this is the output i get:
Chose [blah blah]
[user inputs number and hits enter]
[number displays, but nothing else happens so user inputs number again]
why is it making me put in the input twice? i have written two seperate programs lately that have this problem, and ive written numerous programs before in which i have never had a problem with it.