Output is not working

I have copied your code but in my machine it shows 3 numbers as output and stops working. Can you please look into it?

@sinuscoupon0s_4659768f9d9b587e This code is made for Coding Blocks Increasing Decreasing Sequence only. So there might be some problems in Local IDE. So only use this code for assignment submission.

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.