If I entered 98 means it will show the position 6.
public class OddEven {
    public static void main(String args[]) {
        int[] numbers = new int[] { 14, 23, 67, 10, 76, 5, 98, 13, 110 };
        for (int i = 0; i < numbers.length; i++) {
            if(numbers[i]==14)
                System.out.println(numbers[i]+"position 0");
            else 
                System.out.println(numbers[i]+"no. not in the list");
        }
    }
}
 
     
     
    