So in this basically we have to iterate over the array and check with current value of array and if next element is greater than the current value than we say that next element is max and return the value of maximum value ??
Confuse in this line :
Take N more inputs and store that in an array.
Please clear it…
