progs/while-tests/andor.while
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 13 May 2021 13:10:38 +0100
changeset 825 dca072e2bb7d
parent 824 284ac979f289
permissions -rw-r--r--
updated

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