Update Exercise7.cpp