What has to be done here exactly? The conditions say that we have to display the middle number, that is the number that is not largest or the smallest. And if there are two numbers that are same display any one among those and if all the three are equal then display any one among the three. To do this I first arranged the numbers in ascending order and then I am printing the middle number. This should work right ? But I am not able to clear the task. Anyone who has done this, can you please tell me what exactly has to be done. I am getting the message that middle number should be displayed. I even tried to simply find the average and display the number.