C Program to Print 1 to 100 Using While Loop

program:
#include<stdio.h>
int main()
{
 int i=1;
 while(i<=100)
{
 printf("%d ",i);
 i++;
}
return 0;
}
output:

Previous Post Next Post