2 ms·
> I worry about why it doesn't have to say abs(n) but then I remember two negatives multiplied together are positive. The function doesn't terminate if n is ne
by tome 9y ago
> I worry about why it doesn't have to say abs(n) but then I remember two negatives multiplied together are positive.
The function doesn't terminate if n is negative, so you are right to worry!