Skip to main content

How to print 1-1000 in c language

#include<stdio.h>
void main()
{
    int i;
    for(i=1;i<=1000;i++)
    printf("%d\t",i);

    getch();

}

Comments