Task: Finding the Position of the Maximum Element in C++
Task: Finding the Position of the Maximum Element in C++: a task in Terminal-Lego-15k (Harbor dataset). Write a C++ program that finds and outputs the position (index) of the maximum element in an array, not the value itself.
The task
Write a C++ program that finds and outputs the **position (index)** of the maximum element in an array, not the value itself.
Part of PrimeIntellect/Terminal-Lego-15k.