Conditional structures: Difference between revisions
Content added Content deleted
No edit summary |
(GP; PARI is like C) |
||
Line 1,780: | Line 1,780: | ||
end |
end |
||
end</lang> |
end</lang> |
||
=={{header|PARI/GP}}== |
|||
GP uses a simple <code>if</code> statement: |
|||
<lang parigp>if(condition, do_if_true, do_if_false)</lang> |
|||
PARI can use all of the usual [[#C|C]] conditionals. |
|||
=={{header|Pascal}}== |
=={{header|Pascal}}== |