1.c

 avatar
kaziamir
c_cpp
6 months ago
190 B
4
Indexable
Never
#include<stdio.h>

int main(){
    int N;
    scanf("%d",&N);
    for(int i = 1;i<=N;i++){
        printf("%d", i);
        if(i<N){
            printf(",");
        }
    }
    return 0;
}
Leave a Comment