Conditional structures: Difference between revisions
Content added Content deleted
(Add Ursalang example) |
|||
Line 8,050: | Line 8,050: | ||
else |
else |
||
x * fac (Nat.drop x 1)</syntaxhighlight> |
x * fac (Nat.drop x 1)</syntaxhighlight> |
||
=={{header|Ursalang}}== |
|||
===if…else=== |
|||
<syntaxhighlight lang="ursalang"> |
|||
if x > 9000 { "That's impossible!!!" } else { "Ok, I guess" } |
|||
</syntaxhighlight> |
|||
=={{header|V}}== |
=={{header|V}}== |