Thursday, March 8, 2012

Simple for loop program

//Loop Control Structure
#include<stdio.h>
#include<conio.h>
main()
{
      int i;
      for(i=0;i<=10;i++)
      {
                        printf("%d",i);
                        printf("\n");
      }
      getch();
      }

No comments:

Post a Comment