Any suggestion on how to start writing this program for c++?

Oscar M

New member
Create a class called ScoreBoard that has public floats to hold the scores of two teams and the quarter the teams are in. The class should have a constructor with default values, a method called AddScore that adds a random amount of points to each teams score and increases the quarter by one and print the scores to the screen after each quarter, and a method called WhoWon that checks to see which of the teams has a higher score when the quarter value exceeds 4. Print that team to the screen if they won. If they tie, you should print to the screen that they tied.
 
Back
Top