Pregunta de entrevista de BETA CAE Systems

How can you perform multiplication/division using only addition/subtraction

Respuesta de la entrevista

Anónimo

2 jun 2019

with Python, multiplication would look something like this: #You can repetitively use addition def multiply(a,b): total = 0 counter = 0 while counter >> multiply(5,3) 15