Recursion
#include<iostream>
using namespace std;
void fun(int n){
if(n == 0)return;
fun(n - 1);
cout<<n<<endl;
fun(n - 1);
}
int main() {
fun(3);
return 0;
}
Print N to 1
#include<bits/stdc++.h>
using namespace std;
void func(in...
simpledsa.hashnode.dev2 min read