Anonymous user
Conditional structures: Difference between revisions
m
→{{header|Maple}}
Line 1,979:
=== Conditional statements ===
Example syntax for conditional statements:
<
res := x;
else
res := -x;
end if;</
Example syntax for conditional statements with else-if:
<
res := y;
elif y = 0 then
Line 1,992:
else
res := sqrt(x^2+y^2);
end if;</
=== Conditional functions ===
|