Update Exercise4.cpp