Simple C++ exercises assigned in school.