Amazon Interview Question

ask to code a program that multiplies 2 numbers without using the algebraic multiplier command. I forgot to include cases where one or both values are negative.