conditional statements in ti-82 1

conditional statements in ti-82

If 5+5 > 9 (If is found in prgm,CTL,1)
Then (Then is found in prgm,CTL,2)
Disp "10 IS GREATER THAN 9" (Disp is found in prgm,I/O,3)
Else (Else is found in prgm,CTL,3)
Disp "SOMETHING IS WRONG"
End (End is found in prgm,CTL,7)
(This will print "10 IS GREATER THAN 9")

Here is what the above code is Doing:
1. It’s checking if 5+5 is greater than 9.
2. If it is, it will print “10 IS GREATER THAN 9”.
3. If it isn’t, it will print “SOMETHING IS WRONG”.

Similar Posts