I don't understand, my code is working but not satified the task conditions :(, if someone could give me a clue pleas because i'm a little bit lost.
package fr.codegym.task.task07.task0702;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Tableau de chaînes en ordre inverse
*/
public class Solution {
public static void main(String[] args) throws Exception {
String[] tab = new String[10];
BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
for(int i=0;i<tab.length; i++){
tab[i]= sc.readLine();
}
for(int j=(tab.length-1); j>=0; j--){
System.out.println(tab[j]);
}
}
}