HomeTask7-8.cpp