progs/while-tests/andor.while
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 10 Oct 2022 12:42:06 +0100
changeset 884 183bfb52d26e
parent 824 284ac979f289
permissions -rw-r--r--
fixed bug

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