home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l074 / 1.ddi / COINS.TRU < prev    next >
Encoding:
Text File  |  1985-01-05  |  110 b   |  8 lines

  1. ! Flip a coin five times.
  2. !
  3. FOR toss = 1 to 5
  4.     IF Rnd<.5 then PRINT "Heads, you win"
  5. NEXT toss
  6.  
  7. END
  8.