home *** CD-ROM | disk | FTP | other *** search
- 10 a=rnd(-ti):dima$(80):input"word to anagram";w$
- 20 a$="":l=len(w$):ifw$=""thenend
- 30 fori=1tol:a$(i)=mid$(w$,i,1):next
- 40 forr=1to10:fori=1tol:source=rnd(0)*(l)+1:dest=rnd(0)*(l)+1
- 50 temp$=a$(dest):a$(dest)=a$(source):a$(source)=temp$:next
- 60 print:fori=1tol:printa$(i);:next:print:next:print:run
-