I think u can try with << operator.... But the datatype of the value has
to be int....
and u will get a quotient....
 
 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Herring
Sent: Thursday, February 01, 2007 5:58 PM
To: [email protected]
Subject: Re: [c-prog]



On 2/1/07, Parul Puri <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
com> wrote: 




how to divide a number by 3 without using * /  % 



Why would you want to? Unless it's obfuscation or a homework/interview
question; if it's one of the latter, then you shouldn't be asking here.



-- 
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