Find ceil of a / b without using ceil ( ) function | taking input 1 ; example of perfect division taking input 2
var a = 4 ; var b = 3 ; var val = ( a + b - 1 ) / b ; document . write ( " " + val + " " ) ; a = 6 ; b = 3 ; val = parseInt ( ( a + b - 1 ) / b ) ; document . write ( " " + val ) ;