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. You can work with other students on this assignment, but each submits their own.

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