Problem:
Question 1: Design a class named BaseballGame that has fields for two team names and a final score for each team. Include methods to set and get the values for each data field. Create the class diagram and write the pseudocode that
defines the class.
Question 2: Write the pseudocode that declares three BaseballGame objects and sets and displays their values.
Question 3: Write the pseudocode that declares an array of 12 BaseballGame objects.Prompt the user for data for each object, and display all the values. Then pass each object to a method.
Write the code step by step and explain it.