I am trying to learn cin.fail()Thank you Andy. I got it solved but am still learning. I did use this way.
I am trying to learn cin.fail()That made it work. I also need to make it do validation in case 0 is entered for either fat grams or...
I am trying to learn cin.fail()Yes. Let me try that.
I am trying to learn cin.fail()I am trying to do input validation to make sure nothing but integers are entered but I cannot get it...
input validationThank you for this. I am still a beginner even though I have already taken two classes. My teacher ...