C program to print numbers from 1 to 10 in reverse order




C program to print numbers from 1 to 10 in reverse order


#include<stdio.h>
int main(){
int i;

    for(i=10;i>= 0;i--){
        printf("%d ",i);
    }

    return 0;
}



Post a Comment