Steps to find the maximum value in an array using an algorithm
1️⃣ Start with the first element as the current maximum
2️⃣ Iterate through the array, comparing each element to the current maximum
3️⃣ If an element is greater, update the current maximum
4️⃣ Return the current maximum as the result