My task is: The user should input numbers until -1 is pressed. The array consisting of those elements should be formed. I need to check is the array is descending up