text: C ++ program to find the maximum height of Pyramidal Arrangement of array values
code: #include <bits/stdc++.h> NEW_LINE using namespace std ; int MaximumHeight ( int a [ ] , int n ) { int result = 1 ; for ( int i = 1 ; i <= n ; ++ i ) {