driver program
var str1 = " " , str2 = " " ; var k = 7 ; if ( isConvertible ( str1 , str2 , k ) ) document . write ( " " ) ; else document . write ( " " ) ; str1 = " " , str2 = " " ; k = 5 ; document . write ( " " ) ; if ( isConvertible ( str1 , str2 , k ) ) document . write ( " " ) ; else document . write ( " " ) ;