C# - checking if input is higher than 0. I need an idea :\
Hi! I made a code that using the user's input to calculate a sqrt without Math.sqrt.
The thing is, that the code has to validate if the user's input is not a text and not a negative number. I can manage to check only one or another. How to check both conditions at the same time? Thank you in advance for any help!
Here is the code: