Working fine in eclipse .whats wrong

int n=s.nextInt();
System.out.println(“1”);
System.out.println(“2” +“2”);
int i=3;
while(i<=n) {
int j=1;
while(j<=i) {
if(j==i||j==1)
System.out.print(i);
else
System.out.print(“0”);
j++;
}
System.out.println();
i++;
}
}
}

Hi Ritu

You have already asked this doubt before. I have resolved it on the other thread. Let me know if you are still facing any problems.