Texas Instruments TI-73VSC Guidebook - Page 299
Input, iPart, IS>, Divides two positive integers and displays
UPC - 033317197750
View all Texas Instruments TI-73VSC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 299 highlights
Appendix A: Function and Instruction Reference 293 Input Input [variable] Input ["text",variable] 8I/O Programming command; Input, with no arguments, displays the current graph. Otherwise, Input accepts input and stores it to variable (prompted by a ?, unless otherwise defined). text designates a specific text prompt (16 characters), if desired, and must be enclosed in quotation marks. PROGRAM:INPUTVAR :Input "Y=",Y :Input "A=",A :Input "¨DATA=",¨DATA :Disp "Y(A)=",Y(A) :Pause :Disp :"Y(¨DATA)=",Y(¨DATA) :Pause :PROGRAM:GRPHINPT :FnOff :PlotsOff :ZStandard :Input :Line (0,0,8,8) :Pause int(value) int (23.45) b 23 -| Returns the largest integer value, where value can be a int (L23.45) b L24 real number, expression, or list. For a negative non-integer, int returns the integer that is one less than the integer part of the number. To return the exact integer part, use iPart instead. posintegerA IntàposintegerB -Œ 9 Intà 2 b 4r1 Divides two positive integers and displays the quotient and the remainder, r. iPart(value) 1NUM Returns the integer part of a real number, expression, or each element of a list. iPart (23.45)b 23 iPart (L17.26¦8) b L138 iPart ({1.2,3.4,5.6})b {1 3 5} iPart(112) 1 :IS>(variable,value) :command1 (if answer is value) :command2 8CTL Programming command (increment and skip if greater than); adds variable by 1. If the answer is > value, then command1 is skipped; if the answer is value, then command1 is executed. command2 is always executed. :PROGRAM:IS :0ÜA :Lbl S :Disp A :IS>(A,5) :Goto S :Disp "A IS NOW >5" :Pause