logo

Crowdly

Mis trükitakse konsooli selle koodi käivitamisel? public class Main { publ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Mis trükitakse konsooli selle koodi käivitamisel?

public class Main {

    public static void main(String[] args) {

int a = 15;

if (a % 4 == 3 || a / 5 == 2) {

System.out.println(a);

} else if (a % 3 == 2 && a / 2 == 7) {

System.out.println(-a);

} else {

System.out.println(a % 4);

}

}

0%
More questions like this

Want instant access to all verified answers on moodle.taltech.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!