title: Check if a sentence is a pangram (sentence that contain all letter s in the alphabet)
body: <p>I need to get 10 words and check if they are a pangram (sentence that contain all letters in the alphabet)
  or stop getting words if my program already find a pangram even if the user doesn't put 10 words and my program stops getting words after the first word. Someone knows why?</p>
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  #include &lt;stdbool.h&gt;
  
  #define MAX_NAMES 10
  #define LONG 50
  
  int main()
  {
      char names[MAX_NAMES][LONG] = {0};
      bool flage = true;
      int i = 0, j = 0, k = 0;
      char allAlphabet[] = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
      int countAlfa = 0;
      
      printf(&quot;Enter up to 10 words, try to make a pangram:\n&quot;);
      for(i = 0; (i &lt; MAX_NAMES) &amp;&amp; (flage == true); i++)
      {
          fgets(names[i], LONG, stdin);
          names[i][strcspn(names[i], &quot;\n&quot;)] = 0;
          for(j = 0; j &lt; strlen(allAlphabet); j++)
          {
              if(names[i][k] = allAlphabet[j])
              {   
                  countAlfa++;
                  k++;
                  j = 0;
              }
          }
          if(countAlfa == 26)
          {
              printf(&quot;It's a pangram?\n&quot;);
              printf(&quot;Yes!\n&quot;);
              flage = false;
          }
      }
      if(countAlfa != 26)
      {
          printf(&quot;It's a pangram?\n&quot;);
          printf(&quot;No\n&quot;);
      }
  }
  
  
  </code></pre>