I am very new to Java and cannot figure out this problem even with research and lots of time spent trying.
The question is:
Write a program that stores a number in an integer variable x. The program then prints all the numbers from x to 1 that ends with either 3 or 5 or 7
So far I have:
public static void main ( String  a)
JOptionPane.showInputDialog(null, "Insert Number Here:");