number -- > Current value of number . x -- > Current digit to be considered k -- > Remaining number of digits
function printWellOrdered ( number , x , k ) { if ( k == 0 ) { document . write ( number + " " ) ; return ; }