Hello everyone,

I'm trying to write pseudocode for a function that uses repeated addition instead of multiplication. In other words, inputting 2 and 5 should return 10, using only addition.

So far, I've thought of using one of the inputted numbers as a counter, but I don't know how this would be useful without the multiplication operator. I have some code, but it doesn't address how I can get the sum. I really need help getting direction with this program. If it helps, I think we are expected to use a recursive function.

Thank you all in advance!Code:#include <stdio.h> float sum (float number1, float number2) { float sum; /* sum of the two input numbers */ sum = ??; return (sum); }