Inifinite loop problem (easy question)
SPONSORED LINKS
Hey all, sorry for all the beginner’s questions
Anyways, I’m trying to build a simple loop that will protect against unwanted input (i.e. when the user enters a characters instead of an integer). Here’s what I have so far: Code: #include #include using namespace std; int main() {