03-06-2004, 03:04 AM
I am pretty new at QBASIC I have tried for several days to make a descrambler (using only letters)
example:
parc = crap
I know you can randomize numbers but what abought letters?
like so:
input " place letter here",first$
input " place letter here",second$
input " place letter here ",third$
input " place letter here ', forth$
cls
print first$; second; third; forth$
could you not randomize the 4 letters they input?
Or could you somehow give the letters numeric value as such.
a = 1
b = 2
Does this post make any since at all ? God I hope so ,lol
Thanks for any help
I know you can keep going by repeating the print statement & revolving the letters but if you goto a 10 letter descrambler then there would have to be 1000 print statements not the mention of other lines such as locate to put as much on one page as possable
example:
parc = crap
I know you can randomize numbers but what abought letters?
like so:
input " place letter here",first$
input " place letter here",second$
input " place letter here ",third$
input " place letter here ', forth$
cls
print first$; second; third; forth$
could you not randomize the 4 letters they input?
Or could you somehow give the letters numeric value as such.
a = 1
b = 2
Does this post make any since at all ? God I hope so ,lol
Thanks for any help
I know you can keep going by repeating the print statement & revolving the letters but if you goto a 10 letter descrambler then there would have to be 1000 print statements not the mention of other lines such as locate to put as much on one page as possable