Question: Create a loop body that generates random numbers between 25 and 75. Write a state-controlled loop that adds all these randomly generated numbers until a
Create a loop body that generates random numbers between 25 and 75.
Write a state-controlled loop that adds all these randomly generated numbers until a value larger than 60 is generated. When the loop stops, display the number of acceptable generated values and the sum of those values.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
