Find ceil of a / b without using ceil ( ) function | taking input 1 ; example of perfect division taking input 2
< ? php $ a = 4 ; $ b = 3 ; $ val = ( $ a / $ b ) + ( ( $ a % $ b ) != 0 ) ; echo " The ▁ ceiling ▁ value ▁ of ▁ 4/3 ▁ is ▁ " , floor ( $ val ) , " STRNEWLINE " ; $ a = 6 ; $ b = 3 ; $ val = ( $ a / $ b ) + ( ( $ a % $ b ) != 0 ) ; echo " The ▁ ceiling ▁ value ▁ of ▁ 6/3 ▁ is ▁ " , $ val ; ? >