On 2/1/07, shubhrajyoti datta <[EMAIL PROTECTED]> wrote:

How ?Multiples of 2 is understandable but 3
please explain..



x/2 + x/4 = x/3.

Basic maths I would have thought....


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 * /  %



--
PJH

#706281 +(1868)- [X]
TriPod11: bush ain't THAT bad...he kinda knows what he's doin
idaredbeet08: Please, Monica Lewenski had more President in her than George
Bush ever will.

Reply via email to