FANDOM


:value≠value

A statement that will return true if the two values are not equivalent and false if they are equal. This is a shortcut for and equivalent to not(value=value.

Location Edit

TI-84

  • TEST (2nd MATH)
  • TEST
  • 2:≠

TI-89

  • ◇ + =

TI-nspire

  • ctrl + =

Example Edit

:Input "NUMBER:",X
:If X≠5
:Then
:Output(1,1,"NOT 5
:Else
:Output(1,1,"IT'S 5

This program will only print "NOT 5" if the number the user inputted is not 5, or equal to 5. If the user inputted 5, it will print "IT'S 5".