title: Print numbers from 1 to 100 and replace some with strings (fizzbuzz)
body: <p>I am trying the fizzbuzz program from here: <a href="https://blog.codinghorror.com/why-cant-programmers-program/" rel="nofollow noreferrer">Why Can't Programmers.. Program?</a></p>
  
  <p>"Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz"."</p>
  
  <pre><code>protected void btn1_Click(object sender, EventArgs e)
      {
          for (int i = 1; i &lt; 101; i++)
          {
              if (i % 3 == 0 &amp; i % 5 == 0)
              {
                  Response.Write("fizzbuzz" + ",");
              }
              else if (i % 3 == 0)
              {
                  Response.Write("fizz" + ",");
              }
              else if (i % 5 == 0)
              {
                  Response.Write("buzz" + ",");
              }
              else
              {
                  i = i + 0;
              }
  
              Response.Write(i +",");
          }
  
      }
  </code></pre>
  
  <p>I am able to produce some kind of result like:</p>
  
  <blockquote>
    <p>1,2,fizz,3,4,buzz,5,fizz,6,7,8,fizz,9,buzz,10,11,fizz,12,13,14,fizzbuzz,15,16,17,fizz,18,19,buzz,20,fizz,21,22,23,fizz,24,buzz,25,26,fizz,27,28,29,fizzbuzz,30,31,32,fizz,33,34,buzz,35,fizz,36,37,38,fizz,39, and so on..</p>
  </blockquote>
  
  <p>The word <strong>fizz</strong> was printed but it did not replace 3 and <strong>fizzbuzz</strong> was printed but it did not replace 15 and so ...</p>