This code does not give me answer when i enter value 1 in array. for eg i have taken no. of elements as 5 then i enter them as 2,3,1,6,4 then output gives 2 as smallest number and position number is not always correct what's the error?This code does not give me answer when i enter