Sibling Money Division Game

# Introduction In this challenge, we will create a program that simulates a game where two brothers take turns to divide a sum of money. Each brother can take 1 to 4 coins each time, and the one who takes the last coin loses the game. The challenge is to complete the program so that Bob becomes the final winner. The program should output the total number of coins David takes.

|60 : 00

Click the virtual machine below to start practicing