Question: this function shows to find the largest element in an array. State why largest and i should not be initialized with zero. double largest =
this function shows to find the largest element in an array. State why largest and i should not be initialized with zero.

double largest = 0; for (int 0; i largest) { largest = values[i]; } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
