I am supposed to write a program that asks the user for 5 non-negative integers and then displays the sum of these integers. Also if the user enters a non-integer value, I have to keep asking until the user has inputted 5 acceptable values.
How do I do this using non-nested for statements?? Thanks!!!