title: A program that will let the user input a string and then output each letter on a new line
body: <pre><code>import java.util.Scanner;
  public class Program3_5
  {
      public static void main (String[]args)
      {
          Scanner scan = new Scanner(System.in);
          String input = new String();
          System.out.println("Please enter a string: ");
          input=scan.next();
          int length;
          length = input.length;
          input.substring();
          System.out.println(charAt(0));
          while (length)
              {
                  System.out.println(charAt(0 + 1));
              }
          }
      }
  </code></pre>
  
  <p>I am getting an error stating that it "cannot find symbol - variable length"
  I have tried numerous things yet I am having trouble getting it to work. New to Java! Thanks in advance.</p>
  
  <p>For example if the user were to input: <strong><em>Hello There</em></strong>
  The Output would print the letters on separate lines.</p>