package TD7.premierTests;

public class MaClasse {

    public static int calculer(int a, int b) {
        int res = a + b;
        if (a == 0) {
            res = b * 2;
        }
        if (b == 0) {
            res = a * a;
        }
        return res;
    }

}
