new file:   problem010_2.cpp