Difference between revisions of "Translations:FP Laboratory 6/1/en"
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
| Line 1: | Line 1: | ||
| − | == Operators == | + | == Operators == |
*Define following functions that performs corresponding logic operations: <code>not', and', or', nand', xor', impl', equ'</code> | *Define following functions that performs corresponding logic operations: <code>not', and', or', nand', xor', impl', equ'</code> | ||
*Define the 'standard' priority for all these functions, if they are used as operators. | *Define the 'standard' priority for all these functions, if they are used as operators. | ||
*Create a function that prints the truth table of a given logical expression for two variables. | *Create a function that prints the truth table of a given logical expression for two variables. | ||
Latest revision as of 08:02, 26 October 2023
Operators
- Define following functions that performs corresponding logic operations:
not', and', or', nand', xor', impl', equ' - Define the 'standard' priority for all these functions, if they are used as operators.
- Create a function that prints the truth table of a given logical expression for two variables.