Qbasic help.

DAM

Diamond Member
Jan 10, 2000
6,102
1
76
i need to randomly display a number between 1-6 using Qbasic, prefarably display all 100 numbers at once, could anyone do this for me, i have not touched basic in years.



thank you, come again.




dam()
 

Killbat

Diamond Member
Jan 9, 2000
6,641
1
0
Wha? :D

Try:
PRINT INT(RND*6) + 1

100 numbers at once? Not sure what you mean.
FOR I%=1 TO 100
PRINT I%
NEXT I%