Thread: Multiplication

  1. #1
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738

    Multiplication

    I guess many of you have heard of russian multiplication. My question is, is there another algorithm that divides two number, something like russian division ??? I tried to find it myself, but i failed!
    For those of you who have forgotten or don't know it:

    54*12
    54 12
    108 6
    216 3 216
    432 1 432

    54*12 = 216+432 = 648
    54/12 = ?

    You're welcome to think of it by yourselves, but i try for almost a week and yet haven't found a solution...
    Last edited by GReaper; 05-29-2010 at 03:47 PM. Reason: Fixed some numbers, damn my mistakes!!
    Devoted my life to programming...

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Multiplication Table
    By trueman1991 in forum C Programming
    Replies: 2
    Last Post: 11-11-2009, 07:58 AM
  2. Multiplication table (need guide)
    By naspek in forum C Programming
    Replies: 21
    Last Post: 07-23-2009, 06:26 AM
  3. Help me find a multiplication toy.
    By QuestionC in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-24-2007, 12:27 PM
  4. ...multiplication using stacks
    By iiwhitexb0iii in forum C Programming
    Replies: 1
    Last Post: 10-09-2006, 01:28 AM
  5. multiplication table
    By SpEkTrE in forum C Programming
    Replies: 2
    Last Post: 12-09-2003, 04:46 PM