I want to run a for loop where its initialiser and condition are based on the values of an integer array. for eg:-
int[] array = [0,5,8,12..] for(initia