If then else

From Conservapedia
This is an old revision of this page, as edited by Ed Poor (Talk | contribs) at 10:18, 16 December 2008. It may differ significantly from current revision.

Jump to: navigation, search

The if then else logic of computer programming is the essential aspect which elevated the modern computer from earlier automatic machines such as the Jacquard loom.

Visual Basic example:

if x < 4 then
 y = z + x
else
 y = z
end if