| Programming
statement that if previous conditions are not true displays alternate
information or performs alternate commands.
If X = 10 then print "X is equal to
10"
else print "X is NOT equal to 10"
In the above example, if the X value was not equal to
10, the program would display "X is NOT equal to 10". Note:
the above example is a general example and does not apply to any
programming language.
Also see: Else if, If statement,
Programming definition
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|