Conditional structures: Difference between revisions
Content added Content deleted
(add description and justification for other conditionals) |
Thundergnat (talk | contribs) m (Use a proper mediawiki wikipedia link, remove over enthusiastic whitespace, reformatted slightly to match preexisting) |
||
Line 4: | Line 4: | ||
;Task: |
;Task: |
||
List the |
List the ''conditional structures'' offered by a programming language. See [[wp:Conditional_(computer_programming)|Wikipedia: conditionals]] for descriptions. |
||
Common conditional structures |
Common conditional structures include '''if-then-else''' and '''switch'''. |
||
⚫ | |||
Less common are '''arithmetic if''', '''ternary operator''' and '''Hash-based conditionals'''. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|11l}}== |
=={{header|11l}}== |