#include "..\CookHeader.h"

Array <int> testAry = { 55, 88, 33, 77 };

int findMaxIdx(Array <int> ary) {
    int maxIdx = 0;  
        for (int i = 1; i < len(ary); i++) {
                if (ary[maxIdx] < ary[i])
                    maxIdx = i;
        }                             
    return maxIdx;
}

int main() {
    int maxPos = findMaxIdx(testAry);
    print("ÃÖ´ñ°ª -->");
    println(testAry[maxPos]);
}
