Arithmetic/Integer: Difference between revisions

added TI-83 BASIC
m (→‎{{header|Batch File}}: provided details about quotient and remainder behavior)
(added TI-83 BASIC)
Line 2,099:
 
Also, it's important to surround the arguments to the <code>expr</code> in braces, especially when any of the parts of the expression are not literal constants. Discussion of this is on [http://wiki.tcl.tk/10225 The Tcler's Wiki].
 
=={{header|TI-83 BASIC}}==
Pauses added due to TI-83's lack of screen size.
<lang ti83b>
Prompt A,B
Disp "SUM"
Pause A+B
Disp "DIFFERENCE"
Pause A-B
Disp "PRODUCT"
Pause AB
Disp "INTEGER QUOTIENT"
Pause int(A/B)
Disp "REMAINDER"
Pause A-B*int(A/B)
</lang>
 
=={{header|TI-89 BASIC}}==