Updating 04.cpp