Before Sir started the explanation , I wrote this
public static void P_Fall (int n) {
if ( n > 1 ) {
P_Fall (n-1) ;
}
System.out.println(n);
}
Is this code also correct , I mean I tested it and it gives the same answer but i want to ask that is this also a right way to do Recursion (work done when falling) or not.
Thank You ,
Brahat