help please

Thread Starter

Parker06

Joined Oct 26, 2006
4
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
Hi,

Assign numeric values to the 52 cards. Write a random number generator. Use the output of the random number generator to select cards.
 

pebe

Joined Oct 11, 2004
626
can anyone give me an example of how to do this
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.
 
Top