C program to print numbers from 1 to 10





C program or code to print numbers from 1 to 10


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

    for(i=1;i<=10;i++){
        printf("%d ",i);
    }
    return 0;
}


No comments: