Course of Raku / Essentials / Boolean type / Exercises

Boolean tables


Create a program that prints the results of the three Boolean operations for all the combinations of True and False.


Here is an example of partial output of this program.

$ raku tables.raku
True && True is True
True && False is False
. . .


See the solution

Next exercise

💪 Double negation

Course navigation

Numbers / Operations with numbers   |   Ranges