c program to print 1 to 10 number using while loop


include<stdio.h>
int main()
{
int i=1;
while(i <= 10)
{
printf(“%d\n”,i);
i++;
}
return 0;
}