Update Task2.1.cpp