although i am getting the correct result but why is it not fulfilling the last requirement....please help