title: While will not end after user enters
body: <p>Everything runs fine. However, I need the loop to end contingent upon how many numbers the user enters in the first question.</p>
  <pre><code>using System;
  
  namespace Looping
  {
      class Program
      {
          static void Main(string[] args)
          {
              Console.WriteLine(&quot;How many numbers will you provide?&quot;);
              int numbersProvide = Convert.ToInt32(Console.ReadLine());
  
              int i = 0;
  
              while (i &lt;= numbersProvide)
  
              {
                  Console.WriteLine(&quot;Please enter number:&quot;);
                  int firstNum = Convert.ToInt32(Console.ReadLine());
  
                  int j;
                  int sum = 0;
                
                  double addDiv;
  
                  for (j = 1; j &lt;= 25; j++)
                  {
                      
                      if (firstNum % j == 0)
                      {
                         addDiv = firstNum / j;
                         Console.WriteLine(firstNum + &quot; is divisible by &quot; + j + &quot;(&quot; + addDiv + &quot;)&quot;);
                          sum += j;
  
                      }
                  }
                  Console.WriteLine(&quot;The sum of the quotient is: &quot; + sum);
  
              }
              Console.ReadKey();
          }
      }
  }
  </code></pre>