solved

solved
Last edited on
You're going to have to keep an array of random numbers that have been generated.
If a number has already been generated, then discard it and generate another random number until you have filled all 25 spaces.

PLEASE USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post.
http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.
Last edited on
Also, on BINGO cards:
The 'B' column only has number 1 - 15,
The 'I' column only has number 16 - 30
The 'N' column only has number 31 - 45
The 'G' column only has number 46 - 60
The 'O' column only has number 61 - 75
The 'N' column has "FREE SPACE" in it's 3rd row

Why are you calculating a 'c' card and a 'd' card?
Topic archived. No new replies allowed.