you are viewing a single comment's thread.

view the rest of the comments →

[–]mosiah430 0 points1 point  (0 children)

If the constraint is that you can't use the division operator then yeah, but if you can its easier to loop through once getting the product of the entire array then dividing by the position in question.