Complete the following C++ tasks:
a. Design a class named BaseballGame that has fields for two teamnames and a final score for each team. Include methods to set andget the values for each data field. Create the class diagram andwrite the pseudocode that defines the class.
b. Design an application that declares three BaseballGame objectsand sets and displays their values.
c. Design an application that declares an array of 12 BaseballGameobjects. Prompt the user for data for each object, and display allthe values. Then pass each object to a method that displays thename of the winning team or \"Tie\" if the score is a tie.