title: Want to assign char value using if condition - C language
body: <p>I am practicing to make a marks sheet where I want to assign subjects grade in a variable using an <code>if</code> condition.</p>
  
  <p>Here <code>eper</code> is subject percentage that I want to check and store it accordingly in a variable.</p>
  
  <pre><code>if(eper &gt;=80){  
      geng = "A";
  }
  </code></pre>
  
  <p>Please do not confuse me with arrays and loops as I am in a learning phase and I am still at beginners level and have not studied loops and arrays yet.</p>