Capgemini Engineering Interview Question

how to multiply a number with 3.5 without using *,/,% operator?

Interview Answer

Anonymous

Jan 3, 2017

(x>1) left shift will divide the number by 2 right shift will multiply the number by 2

1