progs/while-tests/andor.while
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 28 Oct 2023 21:00:11 +0100
changeset 946 bee7c57c18c3
parent 824 284ac979f289
permissions -rw-r--r--
corrected

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