repeated subtraction !! On Sat, Jul 30, 2011 at 12:52 AM, nivedita arora < [email protected]> wrote:
> Without using /,% and * operators. write a function to divide a number > by 3. itoa() function is available. > > all i cn thnk of is to use shift operator and addition , x/3=e^(logx- > log3) or repetitive subtraction > > but none of them uses itoa() ..ne idea how its done? > thnks ! > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
