Programing Assignment (C language)

profilensohofarfarod35
Problemswiththecode.pdf

Issues with the code

1-

The dealer shouldn’t win because it’s over 21 and the player loses. In fact, the player should win.

2-

When the players get 21, the program shouldn’t ask for Hit or stay. The player has already won.

3-

In this case, the program after call for hitting, the player card value doesn’t increase. The dealer

shouldn’t win because it’s over 21.

4-

The player card value didn’t increase after call for hitting card

5-

The player should lose because it hits 25. But the program still asking the player wants to hit or

stay. It shouldn’t ask for that.

6-

Issue with the fact the player wins at 25.

The player wins when it goes over 21.