java array – search for an odd positive minimum
Please help me understand what the error is. Here are the conditions of the problem: Print the value of the smallest positive odd element of the array, and if there are no positive odd elements in the array, print the number 0.