Task2.c problem fixed