RosettaCodeData/Task/Conditional-structures/Lisaac/conditional-structures-3.lisaac

14 lines
138 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
+ n : INTEGER;
n := 3;
n
.when 2 then {
"n is 2\n".print;
}
.when 3 then {
"n is 3\n".print;
}
.when 4 then {
"n is 4\n".print;
};