Question: Add code to calculate how many games were won, lost, and tied. Display this information when the user decides to stop playing. You must

Add code to calculate how many games were won, lost, and tied.

 

Add code to calculate how many games were won, lost, and tied. Display this information when the user decides to stop playing. You must format this output as seen below: Do you want to play again (y/m): n You played 6 games. -> Won: 2 -> Lost: 3 -> Tied: Thanks for playing! -------- See you again soon

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!