#include <cstdio>
int a=1;
int f(int n)
{
    if(n==0)
        return 0;
    f(n-1);
    printf("%d\n",n);
    return 0;
}

int main()
{
    int n;
    scanf("%d",&n);
    f(n);
    return 0;
}

Embed on website

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