Exercise 8: Baseball with the STL

A key part of data analytics is computing basic statistics and cleaning data. This exercise gives you a taste of this using the C++'s Standard Template Library. For full credit,

Partial credit will be awarded for solutions that work but fail to meet this criteria.

A starting point for this assignment is in the file bstats.cpp (where b = baseball). You will fill in the TODOs. Hint: skip the first one (for remove_players_with_impossible_stats) for now; other parts will be easier to write. Do not change other parts of the program, just the TODOs.

Submission