Update function_task2_z_6.cpp