Update Problem12.cpp