Question: please in c++ Define a class StatePair with two template types ( T1 and T2), constructors mutators, acceasors, and a Printinto0 method Three yectors have

please in c++ please in c++ Define a class StatePair with two template types (

Define a class StatePair with two template types ( T1 and T2), constructors mutators, acceasors, and a Printinto0 method Three yectors have been pre-filled with statePair data in main0: - vector statePair int, string zipcodestate ZIP code-state abbreviation pairs - vector abbrevstate state abbreviation-state name pairs: - vector statepopulation state name population pairs Complete main0 to use an input ZIP code to retrieve the correct state abbreviation from the vector zipcodestate. Then use the state abbroviation to retriove the state name from the vector abbrevstate. Lastly, use the state name to retrieve the correct state name/population pair from the vector statePopulation and output the pair. Ex If the input is: 21044 the output is: Marylandi 6079602

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!