Not really. You would theoretically have to write an infinite number of if/else statements so that the user could input an infinite amount of numbers before terminating with a number less than zero.