I am trying to do input validation to make sure nothing but integers are entered but I cannot get it to work right. I have watched video tutorials. What is happening is the loop is not working correctly. If something other than an integer is input it goes to a blank screen and doesn't loop back and then I will put a number but it still does not proceed. This is the code
That made it work. I also need to make it do validation in case 0 is entered for either fat grams or calories for the finished product. Is this possible to do another while loop to match that? Thank you for your help.