Jump to content

If-then-else

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Rm dash r (talk | contribs) at 01:54, 12 December 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A programming construct used to branch program logic based on a conditional. For example consider the folowing pseudo code:

 if (condition A) then
    { do something }
 else
    { do something different }