How would I create a simple loop so that the person using this program (user) can keep inputting weights until they want to quit.
Also, I need trying to create a limit that the user can only enter in a certain range of numbers in the input. I want the user only to enter numbers between 0 and 1000. If they don't a error message should appear saying retry.
This is only my second code and it would mean alot to me if someone could lend me a hand.