All Downloads are FREE. Search and download functionalities are using the official Maven repository.

patterns_examples.case9.Ifapc_false_t Maven / Gradle / Ivy

The newest version!
public class Main{
    public static void main(String[] args){
        for (int i = 0; i < 100; i++){
            int v = 0;
            if (i > 1){
                if (i % 2 == 0){
                    v = l1.get(i - 1) + l1.get(i - 2);
                }
            }
            System.out.println(v);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy