A tip:
Whenever initializing a variable to keep track of a product, initialize it to the first entry or factor.
//do not do this
int product = 0;
product *= intArray[0];
product *=...
Type: Posts; User: kenster421
A tip:
Whenever initializing a variable to keep track of a product, initialize it to the first entry or factor.
//do not do this
int product = 0;
product *= intArray[0];
product *=...