Update Task1.2.cpp