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

- GEOMETRY - from a bag containing 6 white balls, 3 black balls and 13 red balls, ...
- 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 ...
- Math - Mohit put 6 red balls and 7 black balls into a bag. What fraction of the ...
- 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 ...

More Related Questions