Update Problem4.cpp