RosettaCodeData/Task/Logical-operations/00DESCRIPTION

11 lines
451 B
Text
Raw Permalink Normal View History

2016-12-05 22:15:40 +01:00
{{basic data operation}}
[[Category:Simple]]
;Task:
2015-02-20 00:35:01 -05:00
Write a function that takes two logical (boolean) values, and outputs the result of "and" and "or" on both arguments as well as "not" on the first arguments.
2016-12-05 22:15:40 +01:00
2015-02-20 00:35:01 -05:00
If the programming language doesn't provide a separate type for logical values, use the type most commonly used for that purpose.
2013-04-10 21:29:02 -07:00
If the language supports additional logical operations on booleans such as XOR, list them as well.
2016-12-05 22:15:40 +01:00
<br><br>