Print 1-10 using do-while loop

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

  

Comments

Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C