RosettaCodeData/Task/Conditional-structures/Avail/conditional-structures-1.avail
2023-07-01 13:44:08 -04:00

9 lines
293 B
Text

If year = 1999 then [Print: "Party!";];
If someNumber > 5 then [Print: "Too high!";] else [Print: "Adequate amount.";];
If breed = "Abyssinian" then [score := 150;]
else if breed = "Birman" then [score := 70;]
else [score := 45;];
Unless char = ¢X then [Print: "character was not an x";];