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

14 lines
138 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07: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;
};