Thanks very much Mats! After you explained what was happening with the getchar(), I was able to find another thread with a similar problem. They simply advised inserting another getchar(); after the...
Type: Posts; User: gmk0351
Thanks very much Mats! After you explained what was happening with the getchar(), I was able to find another thread with a similar problem. They simply advised inserting another getchar(); after the...
If I replace the old "if" with the new "while", would it exit the program? Or would it continue to loop within the outer "while"?
The only reason I have the outer "while" loop (or any other loop)...
Sorry for the poor formatting, I have been cutting/pasting all kinds of things just trying to get it to stop going through the loop twice (if that is what it is actually doing.
I think you are...
I am trying to write a simple program for calculating sines and cosines, which should continue until “q” is entered to quit. I assume that using a “switch” statement would be the easiest method, so...