Displaying wrong answer

my code is showing false in case of sorted array and i don’t know where my code is wrong. please help
Here is my code-

hi pragya
a[0] can be less than oe equal to a[1]
so do
a[0]<=a[1]