171k views
1 vote
Write an equivalent expression for n x a using only addition.

1 Answer

7 votes
>> (for k = 0; k < n; ++k)
>>>> a += a;
>>
> or in any manner you choose, the sum of a + a + a + ... + a (repeated n times).
>> Integer multiplication is the same as repeated addition
User EpicUsername
by
7.7k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories