Write an if statement that prints the message ""The number is not valid"" if the variable distance is outside the range 100 through 2000(both inclusive).

Solved
Show answers

Ask an AI advisor a question