title: Count the numbers that are not divisible by 2, 3, 5
body: <p>In my program, I think my count variable is not holding the value. What do I do so that it can hold? here`s my code.</p>
  
  <pre><code>static void Main(string[] args)
      {
          double a;
          double count = 0;
          Console.WriteLine("Enter the Numbers : ");
          for (double i = 1; i &lt;= 10; i++)
          {
              a = Convert.ToDouble(Console.ReadLine());
              if (a % 2 != 0 || a % 3 != 0 || a % 5 != 0)
              {
                  count = count++;
              }
              //else
              //{
  
             // }
              Console.ReadLine();
          }
          Console.WriteLine("The Numbers That Are divisible by 2,3,5 are : " + count);
          Console.ReadLine();
  
  
      }
  </code></pre>