How ?Multiples of 2 is understandable but 3 please explain.. I would have used substraction of 3 in a loop. till the result is less than 3(childish ans )
[EMAIL PROTECTED] wrote: use shift operators --------------------------------- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Parul Puri Sent: Thursday, February 01, 2007 5:39 PM To: [email protected] Subject: [c-prog] how to divide a number by 3 without using * / % --------------------------------- What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship.
