progs/while-tests/andor.while
author Christian Urban <christian.urban@kcl.ac.uk>
Sun, 17 Sep 2023 19:12:57 +0100
changeset 919 d16037caa8fd
parent 824 fb5462a350b1
permissions -rw-r--r--
updated

n := 0;
if ((n == 0) || (n == 1)) && ((n == 2) || (n <= 0)) then {
    write "yes"
} else {
    write "no"
}