We want to simulate constantly flipping a coin until we get 3 heads in a row. What kind of loop should we use?
For loop
While loop
Loop and a half
Infinite loop
1 answer
While loop
For loop
While loop
Loop and a half
Infinite loop
1 answer