I have tried to do this program two different ways. The 1st way I put the numbers in an Array and then pt the array in ascending order. Than I just print the middle number, because the middle number will satisfy all task that are given. If two of the numbers are the same, the middle number will always be one of the two alike number. Also if all the numbers are the same, the middle number will satisfy that task as well. I commented out the array program to try an if else statements. I also tried to do an if else statement that will satisfy all task. The task that I did not pass are follow: The program should display the middle number of the three numbers. If all the numbers are equal, display any one of them.