main.m185 chars8 lines
Assuming input_value
is the name of the variable that stores the input value, we can use an if-else statement to check if it is greater than 600 or less than 500, and assign the appropriate message to the result
variable. If it falls within the range of 500-600, we assign the message "within acceptable range".
gistlibby LogSnag