Increasing decreasing sequence question test case 8 is not passing

please tell me the test case so that i can correct my program

link to the code https://ide.codingblocks.com/s/226592

@mishranavneet1710 try submitting this code
you are not checking for strictly inreasing, decreasing condtions .

for strictly increasing and strictly decreasing sequence my code is returning true so it is taken into consideration.

@mishranavneet1710 You are not taking the case when all the values are equal. I’ve seen your code and even submitted it. You were not breaking the loop when the values were equal
.For more details you can have alook at the code which I have sent you.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.