0
What did i do wrong?
5 Réponses
+ 3
Max
Because you didn't use comment properly.
At the end of last line should be */
+ 2
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ Thanks you learn everyday
+ 1
Max
What's zahlen--
There should be number--
There should be (number = arr.length - 1)
And also don't do println just do print
---------
for(int number = arr.length - 1; number >= 0; number--) {
System.out.print(arr[number]);
}
}
+ 1
Max
Remember array index start from 0 so last index would be (arr.length - 1) means if a string has length of 5 then index would be 0 1 2 3 4
0
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ still no output :(