title: Converting ASCII values to characters in Java
body: <p>I am currently working on an assignment where I have to decrypt a secret phrase, but run and print 100 different possibilities based on what the ASCII value is. I have gotten this far and believe that what I have should work, but when I run the program it doesn't print anything, just says that the build is successful. Below is my code:</p>
  
  <pre><code>public static void main(String[] args) {
      String phrase = ":mmZ\\dxZmx]Zpgy";
      int value;
      for (int key = 1; key &gt;= 100; key++){
          for (int i = 0; i &gt; 15; i++ ){
             int ascii = (int) phrase.charAt(i);
             if(ascii + key &gt; 126){
                  value = ((ascii + key) - 127) + 32;
                  System.out.print((char)value);
             }
             else{
                 value = (ascii + key);
                 System.out.print((char)value);
             }
  </code></pre>
  
  <p>Thanks, any bit of information helps with this.</p>