Monday
September 22, 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

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/probability - The Probability of drawing two black balls in succession from...
FINITE - selection of colored balls from two bags. Assume that each bag contains...
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 ...
math - mr. lee had a bag of red beans and a bag of black beans. 20% of the total...

Search
Members