Logical negation (operator
!) means a given condition is is not fulfilled.
! accepts as an argument a bool variable and returns its value.
Watch this video to learn how to use logical "NOT" in programming: https://youtu.be/4U7w2ZSAAW4.
A given number is valid if it is in the range [100 … 200] or it is 0. Do a validation for an invalid number.
Test your solution here: https://judge.softuni.org/Contests/Practice/Index/508#4.