title: Creating an average test score using the for loop
body: <p>I am trying to figure out the test score averages up to 4 test scores using a for loop. It seems like I am going over 4 rather than stopping and not sure what I'm doing wrong for it to not display my average. Please advise:</p>
  
  <pre><code>        Console.WriteLine("Please enter your first test score");
  
          //variables
          double testScore = double.Parse(Console.ReadLine());
          double average = 0;
  
          for (int count = 0; count &lt;= 4; count++) // Start the count from 0-4
          {
              //get the total
              average = average + testScore;
  
              Console.WriteLine("Please enter your other test score");
              testScore = double.Parse(Console.ReadLine());
  
              //Calculate and display 
              Console.WriteLine("The average of your test score is :", average / count);
          }
  
  
      }
  </code></pre>