progs/while-tests/andor.while
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 26 Feb 2021 08:47:18 +0000
changeset 824 284ac979f289
permissions -rw-r--r--
updated while tests

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