HOME >> Tutorials >> Tutorial 5: Random Integers |
Name of term | Description | where to find command on calc. |
randInt | Picks a random number | while making a program press 2nd 0 and press X and go down 3 spots |
ClrHome
ClrDraw
Menu("PICK ONE","RANDOMINT",1,"QUIT",2
Lbl 1
randInt(1,100A
Disp A
Disp "THIS IS THE"
Disp "RANDOM INTEGER"
Lbl 2
ClrHome
""
these must always be used to have the calculator show text
,
used in menus to divide up different selections
A
Variable that the number is stored in
If you do not understand any part of this tutorial or have a question about programming E-mail us.