title: I need help making the word UpperCase in a for loop, the word isn't written in eclipse but it is imported from a txt file
body: <pre><code>import java.util.*;
  import java.io.*;
  
  public class Cascader {
      public static void main(String args[]) throws IOException {
          Scanner inputfile = new Scanner(new File("name.txt"));
          String name = inputfile.nextLine();
          System.out.println("Reading the name...");
          for(int i = 0; i &lt; name.length(); i++) {
              System.out.println(name.charAt(i));
          }
          inputfile.close();
      }
  }
  </code></pre>