Calculators | Texas Instruments - Mathematics | Programming Conditional Statements
Programming Conditional Statements
The value of C should now be checked. Type in using 2nd Test to obtain the equal sign.
: If C = 0
: Then
Clear the home screen so that the screen is not cluttered when you display that A equals B
: Disp ìA = Bî : Pause
The if then loop can now be ended. : End
: If C > 0 : Then : Disp ìA IS GREATERî : Disp ìTHE DIFFERENCEî, C : Pause
On entering the program repeats.