Guest_imported
New member
- Jan 1, 1970
- 0
i need to know how to generate a totall random set of numbers there should be 10 numbers pulled (only two choices 2,1, head and tails) then i need to be able and tell how many times it landed on 1(heads) and 2(Tails)
This is what iv'e got so far... i can't get it to print how many tails and how many heads
COLOR 14,9 '** HA my colors
CLS
FOR X = 1 TO 10 '**10 flips
RANDOMIZE TIMER
? INT(RND * (2 - 1) + 1 '**choices are
'**1(tails) 2(Heads)
NEXT
END
I am hoping to have it look something like this:
TAILS HEADS
----- -----
(amount of 1'a landed) (Amount of 2's landed)
THaNKX
chris
This is what iv'e got so far... i can't get it to print how many tails and how many heads
COLOR 14,9 '** HA my colors
CLS
FOR X = 1 TO 10 '**10 flips
RANDOMIZE TIMER
? INT(RND * (2 - 1) + 1 '**choices are
'**1(tails) 2(Heads)
NEXT
END
I am hoping to have it look something like this:
TAILS HEADS
----- -----
(amount of 1'a landed) (Amount of 2's landed)
THaNKX
chris