title: Printf formatting an integer to have a maximum and minimum of 2 digits displayed
body: <p>In one of my assignments, one line is required to <code>printf</code> "My friend is __ years old" where the empty space must contain no more and no less than 2 digits from an integer but no matter what I try, nothing is working...</p>
  
  <p>Here is my code:</p>
  
  <pre><code>int age = 22332;
  
  printf("My friend is %2.2i years old.",age);
  </code></pre>
  
  <p>Yet the output ends up being</p>
  
  <blockquote>
    <p>My friend is 22332 years old.</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>