while loop in c programming
- Yatendra Awana
- Oct 28, 2021
- 1 min read
Program to print numbers from 1 to 10 using while loop
#include<stdio.h>
int main(void)
{
int i=1;
while(i<=10)
{
printf("%d\t",i);
i = i+1;
}
printf("\n");
return 0;
}
google407ec42f1ae5ff0e.html
Comments