I am trying to create an application that will:
1) ask the person to enter a number (ex: 321)
2) the application will display each number on a line
ex:3
2
1
Rules: Don't use looping and don't use arrays
Someone told me it could be done but I can't find it!!
What I've done:
Scanner scan = new Scanner(System.in);
int numb;
numb = scan.nextInt();
but what next ?