Question: Write a C++ program for a baseball game which does the following: Ask the user for the score for the home team, then ask the
Write a C++ program for a baseball game which does the following:
- Ask the user for the score for the home team, then ask the user for the score for the away team.
- Display the home team and away team scores, and tell the user who won the game.
- At the end of the program, ask the user if they would like to go again. If the user enters 'y' then run the program again, otherwise it's done. Let the user run it as many times as desired.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
