You mean put the (while<0) inside the other? i already do that, and the problem is when i enter a float number validates it then i enter a negative and doesn't validate it
No Salem means move your condition from while into loop body
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler