N Neal Guest Mar 10, 2009 #1 generates random numbers until 23 is generated, then throws and catches and exception, then reports the total count of numbers generated before reaching 23.
generates random numbers until 23 is generated, then throws and catches and exception, then reports the total count of numbers generated before reaching 23.