Program to print numbers from N to 1 in reverse order | Recursive function to print from N to 1 ; Driver code
function PrintReverseOrder ( N ) { for ( let i = N ; i > 0 ; i -- ) document . write ( i + " " ) ; } let N = 5 ; PrintReverseOrder ( N ) ;