title: Ceaser Cipher crack using C language
body: <p>I am writing a program to decrypt text using ceaser cypher algorithm.
  till now my code is working fine and gets all possible decrypted results but I have to show just the correct one, how can I do this?
  below is the code to get all decrypted strings.
  for my code answer should be "3 hello world".</p>
  
  <pre><code>void main(void)
  {
    char input[] = "gourz#roohk";
    for(int key = 1;x&lt;26;key++)
    {
      printf("%i",input[I]-x%26);
      for(int i = strlen(input)-1;i&gt;=0;i--)
      {
        printf("%c",input[I]-x%26);
      }
    }
  }
  </code></pre>