finished project 25 in c++