Computer Science Canada

lottery

Author:  yodu123 [ Tue Mar 31, 2009 6:48 pm ]
Post subject:  lottery

we are supposed to make a number generator using randint for a school project. i got the basics but i need some more futures to add to it. can anyone give me some add on ideas?
thnx

Author:  tjmoore1993 [ Tue Mar 31, 2009 6:58 pm ]
Post subject:  RE:lottery

For a lottery based program it would have a series of integers being randomly generated. Maybe make some sort of a gambling game out of it Smile

Author:  ecookman [ Tue Mar 31, 2009 9:22 pm ]
Post subject:  RE:lottery

choose a number and see if it matches the random one


prettymuch:
Turing:

 if randnum = usernum then
put "you win"
else "..fail the number was", randnum
end if


: