Help with Practice Exam Problem - (Arrays)lol well your answer was quite a bit more detailed than mine.
VOID???Unless the return type is void, you have to return the specified type. So just printing the answers...
Help with Practice Exam Problem - (Arrays)Yeah whenever the current element is 5, it will be calculated as s = 2 + 5; And every element after ...
finding the second largest number in array[code] for( int i = 0; i< size; i++) { if (a[i] >secondMax) secondMax = a[i]; } // Clos...
Help with Practice Exam Problem - (Arrays)So the for loop goes through the array element-by-element. The if statement checks the current elem...
This user does not accept Private Messages