Update task2.c