Is it possible to start the for loop from backwards : <p>I'm pretty sure that my logic is right but it doesn't print anything. Can anyone please take a look at my code. It supposes to print the string backward. But it doesn't print anything. It doesn't give me an error either. Thanks</p>

<pre><code>String x = input.nextLine();

    for(int i = x.length()-1; i&lt;=0;i--)
   {
   System.out.println(x.charAt(i));

   }
</code></pre>
