y 52812 93424 12 174 What is the value of Y for integer c

y = (5*2*8/12 + 9*3*4/24 + 12 -17/4); What is the value of Y for integer computation?

Solution

Ans) If Integer computation is used 8/12=0 and 4/24=0 and 17/4=4 these results because fractional part is not stored when integer computation used ,using that we have

Y=(5*2*0+9*3*0+12-4)=8

Y=8

 y = (5*2*8/12 + 9*3*4/24 + 12 -17/4); What is the value of Y for integer computation?SolutionAns) If Integer computation is used 8/12=0 and 4/24=0 and 17/4=4 t

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site