Update Exercise9.cpp