#include <stdio.h>

int main( void )
{
   static int count = 0;

   for (int x = 0; x < 101; x++)
   {
      if (x % 2 == 0)  /*if x is even...*/
      count++;  /*add 1 to count.*/

   }

   printf("There are %d even numbers.\n", count);
   return 0;
}