Computer Science, asked by divija225, 7 months ago

Two friends decide who gets the last slice of a cake by flipping a coin five times. The first person to win three flips wins the cake. An input of 1 means player 1 wins a flip, and a 2 means player 2 wins a flip. Design an algorithm to determine who takes the cake?

Answers

Answered by arpitamohanta07
7

Answer:

playerr 2 takes the cake

Explanation:

Answered by Anonymous
3

Answer:

PLAYER 2 TAKES THE CAKE

Explanation:

FOLLOW ME

Similar questions