title: Variable warning set but not used
body: <pre><code>int none[5];
  int ntwo[5];
  
  (the following is in a switch statement);
  
      if (answer == userAnswer)
  {
      printf("Correct!\n");
      score = prevScore + 1;
      prevScore = score;
  }
  
  else
  {
      printf("Incorrect. The correct answer was %d\n\n", answer); 
      none[i] = number1;
      ntwo[i] = number2;
  }
  }
  break;
  </code></pre>
  
  <p>(Switch statement ends)</p>
  
  <p>It gives me an error saying "Variable warning "none" set but not used". I have clearly used it. I dont know why this error i happening. FYI all the other variables you see have been declared. I just took out the imp part where the array appears. </p>