title: Encrypting using Caesar Cipher
body: <p>Is there anyway to change this code so it will only encrypt uppercase letters? I don't need to it do lowercase or symbols. Thanks!</p>
  
  <pre><code>public class CaesarCypher
  {
      public static final int MOVE_DOWN = 4;
      public static void main(String [] args)
      {
  
          String plainText;
          char character;
  
          System.out.println("Enter sentence or word to Encrypt: ");
          plainText = Console.readString();
  
          for ( int iteration = 0 ; iteration &lt; plainText.length() ; iteration++ ) 
          {
              character = plainText.charAt( iteration );
              if ( character != ' ' ) 
              {
                  character = (char) ( 'a' + ( character - 'a' + MOVE_DOWN ) %26 );
              }
  
              System.out.print(character);
          }
  
  
      }
  }
  </code></pre>