Code to print 10..........1(using for loop)

Code to print 10..........1(using for loop)

#include<stdio.h>
#include<conio.h>
void main()
{
    int i;
    for(i=10;i>=1;i--)
    {
        printf("%d",i);
    }
    getch();
}


Output




Comments

Popular posts from this blog

Code for pattern 6

Code to check leap year