Untitled
Anonymous
plain_text
08/06/2024 6:40 PM
412 B
30
Indexable
int i = 0;
while (i < (list.length - 2)) {
open(input+list[i]);
open(input+list[i+1]);
open(input+list[i+2]);
i=i+3;
//3 files are open. Do any action you need to below)
//action here
}
//resolve the last 1-2 files if any
while(i < list.length) {
open(input+list[i]);
i++;
}Editor is loading...
Leave a Comment