Knuth shuffle: Difference between revisions

m
→‎{{header|QB64}}: syntax hi-lighting, sub-headered
(Knuth shuffle in Yabasic)
m (→‎{{header|QB64}}: syntax hi-lighting, sub-headered)
Line 1,197:
330 END DEF</lang>
 
==={{header|QB64}}===
shuffle and make sure that number does not take its place<br/>
<lang QB64>
shuffle and make sure that number does not take its place
and between cells at least 10% ... Shuffle from Russia
<lang QB64qbasic>
 
a = 100: DIM d(a): x=0: k=0: t$=CHR$(9): RANDOMIZE TIMER 'Shuffle_RUS.bas
PRINT ,: FOR i = 1 TO a: d(i)=i: NEXT