Asked by joe

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

Answers

Answered by GPT 3.5
While loop
There are no human answers yet. A form for humans to post answers is coming very soon!

Related Questions