title: Template<> not working or for ints
body: <p>Here is the code I am having trouble with it seems to work logically but perhaps I am missing a small detail as it doesn't work for chars or ints.
  Whenever I run it I get weird output like all Fs or all As.</p>
  
  <pre><code>#include &lt;iostream&gt;
  template&lt;class T&gt;
  char gradeIt(T mark,T maxMark){
      T grade =(mark/maxMark)*100;
      if(grade &gt; 79)
          return 'A';
      else if(grade&lt;=79 &amp;&amp; grade &gt;= 69) {
          return 'B';
      }
      else if(grade&lt;=69 &amp;&amp; grade&gt;59)
          return 'C';
      else if(grade&gt;50 &amp;&amp; grade &lt;=59)
          return 'D';
      else 
          return 'F';
  }   
  template&lt;&gt;
  char gradeIt&lt;char&gt;(char mark,char maxMark){
      return mark;
  </code></pre>
  
  <p>} </p>