Wednesday
July 23, 2014

Homework Help: IT/210 CheckPoint Iteration Control Structure

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

First Name:
School Subject:
Answer:

Related Questions

Math - my problem is: From the box containing 5 red balls, 7 blue balls, 10 ...
FINITE - selection of colored balls from two bags. Assume that each bag contains...
math/probability - The Probability of drawing two black balls in succession from...
Math - my problem is: From the box containing 5 red balls, 7 blue balls, 10 ...
Math - A bag contains 6 black balls,5 red balls and 4 white balls,if 3 are ...
Math - A bag contains 6 black balls,5 red balls and 4 white balls,if 3 are ...
Math - Three balls are drawn together from a bag containing 4 white, 5 black, ...
maths - A bag contains 4 red and 3 black balls. A second bag contains 2 red and ...
statistics - Assume that each bag contains 6 balls. Bag a contains 3 red and 3 ...
probability - a bag contains 14 identical balls,3of which are red, 4black and 7 ...

Search
Members