Turing 025 — The If Statement
Often we have the need to do a comparison between two objects. For instance, if we wanted to determine if variable “number1” is greater than the variable “number2”, we would use a series of commands similar to:
if number1 > number2 then
<do something here>
end if
Assignment
Write a program that prompts for two numbers, then informs us if the 1st number is less than the 2nd number.
Save as "025.t".