hi guys "
I made this java code that asks the user to put 10 numbers inside an array :
public class hhh
public static void main ()
int x  = new int ;
for (int i = 0; i < x.length; i = i + 1)
s = JOptionPane.showInputDialog("enter a number");
x [i] = Integer.parseInt(s);
and I want to know how to find the numbers that less than 50.
I know I should write this first :
if (x[i] < 50)
but then I don't know the next step.