write a program to print numbers between 1 to 10 using while loop.

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

Comments

Popular posts from this blog