Monday, March 3, 2014

Loop example in C

#include <stdio.h>

main()
{
   int value = 1;

   while(value<=3)
   {
      printf("Value is %d\n", value);
      value++;
   }

   return 0;
}

No comments:

Post a Comment