Write a complete C++ program that will accept the following information for each team in a baseball or a football league. Each team contains the given information
a. Team code (unique)
b. Type (1= baseball, 2= football)
c. No. of wins
d. No of losses
For baseball team, add the following information:
a. No. of hits
b. No. of runs
c. No. of errors
d. No. of extra innings game
Similarly, add the following information for a football team
a. No of ties
b. No. of touchdowns
c. No. of field goals
d. Total yards gained
e. Total yards given to opponents.
Enter this information for all teams in a league. Then reorder and print the list of teams according to their win/loss.
Hint: Use a nested structure containing unions as nested member.
Lowest bid would be winner. I need freelancer for 2-3 month