2.79 Mul3div4
★★
Problem:
Write code for a function mul3div4
that, for integer argument x
, computes 3*x/4
. Your code should replicate the fact that the computation 3*x
can cause overflow.
Code:
Last updated
★★
Problem:
Write code for a function mul3div4
that, for integer argument x
, computes 3*x/4
. Your code should replicate the fact that the computation 3*x
can cause overflow.
Code:
Last updated