FANDOM


The correct title of this page is <. It appears incorrectly here because of technical restrictions.

:value<value

A conditional statement which will return true only when the value on the left side of the sign is less than the value on the left side of the sign. Otherwise, it will return false/0.

Location Edit

TI-84

  • TEST (2nd + MATH)
  • TEST
  • 4:<

TI-89

  • < (2nd + 0)

TI-nspire

  • <

Example Edit

:Input "NUMBER:",X
:If X<5:Then
:Output(1,1,"LESS THAN 5
:Else
:Output(1,1,"NOT LESS THAN 5

This program will only print LESS THAN 5 if the number the user inputted is less than 5. Otherwise, it will print NOT LESS THAN 5