1.st chapter Problem solving with c++