
Filter, count, average and update test scores held in a std::vector with push_back, size and range-for loops.
Total a fixed five-day week held in a std::array, and build and sum two-dimensional seating grids made of nested std::vector rows.
Search a std::vector of names with iterators and std::find: test membership, turn an iterator into an index, copy the tail after a match and erase the first match.
Rank test scores with std::sort and the default ordering: a sorted copy, the median of an odd or even count, and the top three marks.
Compute grade book statistics over a table of marks kept as nested std::vector rows: means, medians, the top student, weighted marks, roster lookups, best marks and a capped curve.