How to check input values

I have a question, I need to do a calculation of an equation, and some of the values ​​that should be entered should be checked as well. Example: a variable x, if greater than 15 must be informed that it is above the pressure range, if the value is less than 7, must be informed that it is below the pressure, and if it is within these values, it must be informed that The pressure is normal. How to do this when calculating the equation ???

Hi @adresch2 Welcome to Kodular Community
You can use if-else to check values.

if x > 15
then it is above pressure range
else if x < 7
then it is below pressure range
else pressure is normal


1 Like