title: Java Call Char Method To Collect Characters Between A to W
body: <p>I am writing a code to display the letters from a to w with only 10 letters per line. My assignment says to call the method  "public static void printChars(char c1, char c2)" but I'm not really sure how to go about calling this method. My code is still <em>very</em> messy and I am trying to untangle and understand it based on the example given in my textbook: </p>
  
  <pre><code>import java.util.Scanner;
  
  public class CallingTheCharMethods {
  
  public static void main(String[] args) {
  
  System.out.println("Printing all letters between a and w:");
  }
  
  final int NUMBER_OF_CHARS = 23;
  final int CHARS_PER_LINE = 10;
  
  }
  
  for (int i = 0; i &lt; NUMBER_OF_CHARS; i++) {
  
  char ch = public static void printChars(char c1, char c2);
  
  if ((i + 1) % CHARS_PER_LINE == 0)
  
  System.out.println(ch);
  else
  System.out.print(ch);
  
  }
  </code></pre>
  
  <p>Again, I'm sorry for the messy, stupid code. I'm trying to understand this the best I can. </p>