Guys, can i ask for your help?, i just want to know on how this code works.
Objective: "Write a program that asks the user to type 10 integers of an array. The program must output the largest element in the array, and the index at which that element was found."
Can anyone explain on how the logic works when getting the largest element of the array?