P Thread Starter Parker06 Joined Oct 26, 2006 4 Oct 26, 2006 #1 How can u create a qbasic program that prints out 4 cards dealt randomly from a 52-card deck. help would be appreciated
How can u create a qbasic program that prints out 4 cards dealt randomly from a 52-card deck. help would be appreciated
beenthere Joined Apr 20, 2004 15,819 Oct 26, 2006 #2 Hi, Assign numeric values to the 52 cards. Write a random number generator. Use the output of the random number generator to select cards.
Hi, Assign numeric values to the 52 cards. Write a random number generator. Use the output of the random number generator to select cards.
P Thread Starter Parker06 Joined Oct 26, 2006 4 Oct 31, 2006 #3 can anyone give me an example of how to do this
P pebe Joined Oct 11, 2004 626 Nov 1, 2006 #4 Parker06 said: can anyone give me an example of how to do this Click to expand... I've done a similar program to select six lottery numbers, that you could probably modify. It's too long to publish here but if you PM me with your email address, I'll send you the program.
Parker06 said: can anyone give me an example of how to do this Click to expand... I've done a similar program to select six lottery numbers, that you could probably modify. It's too long to publish here but if you PM me with your email address, I'll send you the program.
D Dave Joined Nov 17, 2003 6,969 Nov 1, 2006 #5 You could also have a look at: http://members.lycos.co.uk/brisray/qbasic/qdload.htm Taken from: http://members.lycos.co.uk/brisray/qbasic/qdload.htm Also have a look at: http://mysite.verizon.net/wddevoe3141/randomgen.html Dave
You could also have a look at: http://members.lycos.co.uk/brisray/qbasic/qdload.htm Taken from: http://members.lycos.co.uk/brisray/qbasic/qdload.htm Also have a look at: http://mysite.verizon.net/wddevoe3141/randomgen.html Dave