Help adding a negative # error message

I need help with adding a number range for a for statement. If the number is negative -1 then an error message should appear and prompt the user to try to enter another number that is not negative. The user should be able to enter a negative into the program. I can not get it to run once I try to put the range in.
closed account (48T7M4Gy)
http://www.cplusplus.com/reference/

Try this link and type in the keywords.
Topic archived. No new replies allowed.