// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class Loop {
    public static int getMe3() {
        System.out.println("getMe3 called");
        return 3;
    }
    public static void main(String[] args) {
        for(int i = 0; i < getMe3(); i++) {
            System.out.println(i + 1);
        }
    }
}
