It is also wrong as that expression is always 0.
Going by the function name, the * should be a +.
If you wanted the product of squares, instead replace the 0 with 1.
It is also wrong as that expression is always 0.
Going by the function name, the * should be a +.
If you wanted the product of squares, instead replace the 0 with 1.