/* ***********************************************
Write a program to print 1 to 10 using while loop
date:03-06-2019
created by:ANIL DURGAM
*****************************************************/
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i=1;
while(i<=10)
{
printf("%d\n",i);
i++;
}
return 0;
}
No comments:
Post a Comment