Hello, Do you know how to ask in a program for the output number to be strictly positive?
Thank you in advance.
1 answer
Votes
Date
Descending date
quent217
Hello, I'm not sure I fully understood your request. If you want to ask a user for a strictly positive number, you can create a loop that keeps asking for the number as long as it is negative:
Do "Number "?->A LpWhile A<=0
"<=" represents the less than or equal to sign.
Blackarrow01799
Quent217 thank you for your response. It's not what I was expecting, but I managed to find it. Thank you.