Java Programs/PrintNnumber.java
package Recursion;

public class PrintNnumber {
    public static void main(String[] args) {
        fun(5);
    }
    static void fun(int n){
        if (n==0) return;
        fun(n-1);
        System.out.print(n + " ");
    }
}


