how to find a next bigger no from the list of random numbers
can u plz tell me how to find the next bigger no from the given list if some input is given
the list is 1,2,3,4,8,9
the input given to the list is 5 and the output should come 8
i used select endselect but the output is coming 9 i want it 8
how to do it?