#include <stdio.h>

int main() {
    int n, nums;

    scanf("%d", &n);

    for(nums = 1; nums <= n; nums++) {
        printf("%d\t", nums);
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: