C Program To Print Number 1 To 10 Using Do While Loop

PROGRAM :

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



OUTPUT :

1
2
3
4
5
6
7
8
9
10

Post a Comment

0 Comments