title: In C, how do I check if a String contains 2 digits, 1 letter and 4 digits?
body: <p>In the method I've tried this:</p>
  
  <pre><code>int 1, 2, 4, 5, 6, 7;
  char 3;
  char display[10];
  
  scanf("%d%d%c%d%d%d%d", &amp;1, &amp;2, &amp;3, &amp;4, &amp;5, &amp;6, &amp;7);
  display = {1, 2, 3, 4, 5, 6, 7};
  </code></pre>
  
  <p>But I get errors everywhere and it doesn't work.</p>