Print 1-10 using do-while loop

#include<stdio.h>
void main()
{
int i=1;
do{
printf("%d\n",i);
i++;
}while(i=100);
}

  

0 Comments