## CareerCup Interview Question

Accountants**Country:**India

**Interview Type:**In-Person

assumes b >= 0

a*b = (a+a+ .. + a) <-- add 'a' to itself b times (with a loop)

if b<0, do above loop (-b) times then negate result

I am from the Vedic bloodline, and I came up with above, thus that is Vedic :)

If there is another Vedic multiplication method, then whoever asks me to do this will have to explain how that works, and then I'll translate their psuedocode to code line for line :P

- Westlake March 13, 2014