Posted by **Jim** on Wednesday, September 21, 2011 at 3:30pm.

Need help with this! Uses a while counter loop

In front of you is a non-see through bag containing 50 red balls and 50 black balls. You are to design a solution that will allow you to draw one ball at a time until 12 red balls are drawn. At the end of the program you will display a message stating how many balls were drawn and how many of them were black.

## Answer This Question

## Related Questions

- math - A bag soccer balls contains 8 balls with black design and 7 balls with ...
- algebra...urgent help - A bag soccer balls contains 8 balls with black design ...
- Maths - Bag A contains 2 white, 1 black and 3 red balls, Bag B contains 3 white...
- Math - my problem is: From the box containing 5 red balls, 7 blue balls, 10 ...
- Math - A bag contains three black balls, four white balls and five red balls. ...
- Math - my problem is: From the box containing 5 red balls, 7 blue balls, 10 ...
- Statistics HELP - There are two bags each containing red balls and yellow balls...
- Math - A bag contains 33 balls: 10 blue, 11 red, and 12 green. If a person will ...
- Math - A box containing 20 yellow balls, 9 red balls and 6 blue balls. If the ...
- Math - What's the probability of picking out 5 white and 3 red balls from a bag ...

More Related Questions