- 1
Help please with this task
find the sum of array elements located after the maximum element. and array elements facing the maximum print in reverse order
3 Antworten
0
A simple solution is to find the index of max number in the first iteration, then sum all the elements after it and print the numbers before it in reverse order.
0
thank you