title: How to convert month(int) into month name (string)
body: <p>I'm having a problem with a function i'm working on. I am able to get the proper data, just not print out the names of the month as well. </p>
  
  <p>sample output i'm getting:</p>
  
  <pre><code>|   Month   | High  |  Low  |  Avg  | Precip  |
  |-----------|-------|-------|-------|---------|
  1    | 9.8 | -26.2 | -7.8 | 55.3    |
  2    | 7.5 | -23.3 | -8.6 | 33.1    |
  3    | 14.2 | -19.6 | -4.7 | 33.2   |
  4    | 23.7 | -5.3 | 6.2 | 56.8 |
  5    | 33.0 | -0.6 | 13.9 | 62.7    |
  6    | 32.1 | 8.0 | 19.7 | 69.7 |
  7    | 34.9 | 12.6 | 22.2 | 181.8   |
  8    | 31.5 | 11.0 | 20.9 | 69.2    |
  9    | 34.1 | 5.0 | 16.1 | 69.0 |
  10    | 24.8 | -2.9 | 10.8 | 56.9   |
  11    | 16.0 | -12.8 | 2.1 | 36.2   |
  12    | 15.6 | -17.8 | -4.2 | 65.8
  </code></pre>
  
  <p>I want to conver digits 1-12 to there proper month names. Ie: 1 = January. </p>
  
  <pre><code>void printMonthlyStatistic(int month,const struct MonthlyStatistic* monthly)
  </code></pre>
  
  <p>is what the function looks like</p>
  
  <pre><code>for(i=0;i&lt;12;i++){
     printMonthlyStatistic(i+1,&amp;monthly[i])
  </code></pre>
  
  <p>and is called in main as such. </p>
  
  <p>Any help onto where to look for the proper method to complete this would be great. Thanks!</p>