Its not an homework. I appeared for EA sports interview last month. I was asked this question and I got it wrong. I have already fidlled around with the answer but I don't know the correct reasoning behind it.
Thanks, On Jan 31, 10:01 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > > How to divide a number by 7 efficiently without using - or / > > operator. We can use the bit operators. I was thinking about bit > > shift operator but I don't know the correct answer. > > I think you are asking for help on a homework assignment in violation > of collusion and plagiarism rules of your educational institution, and > I claim my ten zorkmids. > > Please use the resources made available to you in your course of > study; this almost certainly does not include having people on > discussion forums answer the homework for you. > > -- > \ "I like to go to art museums and name the untitled paintings. | > `\ 'Boy With Pail'. 'Kitten On Fire'." -- Steven Wright | > _o__) | > Ben Finney -- http://mail.python.org/mailman/listinfo/python-list