0

JAVA REVERSE + SPACE

I want to know ASAP: Enter a number: 12345 Output should be: 5 4 3 2 1

3rd Sep 2018, 12:28 PM
Reginald Tobias
Reginald Tobias - avatar
1 Odpowiedź
+ 1
for(int i = array.length - 1; i >= 0; i--){ println(array[i]); }
3rd Sep 2018, 12:42 PM
Sam Pache
Sam Pache - avatar