Boolean expression: Difference between revisions

Content deleted Content added
m Examples: {{code}}, {{samp}}
Tags: Reverted extraneous markup Visual edit
Line 33:
| year = 2003}}.</ref> In the mathematical literature the symbols used are often "+" ([[Plus sign|plus]]), "'''·'''" ([[Full stop|dot]]) and [[overbar]], or "∨" (cup), "∧" (cap) and "¬" or "′" (prime).
 
==Examples==
 
'''india i s killer
*The expression {{code|5 > 3}} is evaluated as {{samp|true}}.
bye,'''<ref></ref>
*The expression {{code|3 > 5}} is evaluated as {{samp|false}}.
*{{code|1=5>=3}} and {{code|1=3<=5}} are equivalent Boolean expressions, both of which are evaluated as {{samp|true}}.
*<code>[[typeof]] true</code> and <code>typeof false</code> return {{samp|boolean}}
*Of course, most Boolean expressions will contain at least one variable ({{code|X > 3}}), and often more ({{code|X > Y}}).
 
==See also==