RosettaCodeData/Task/Logical-operations/HolyC/logical-operations.holyc

8 lines
161 B
Text
Raw Permalink Normal View History

2018-06-22 20:57:24 +00:00
U0 PrintLogic(Bool a, Bool b) {
Print("a and b is %d\n", a && b);
Print("a or b is %d\n", a || b);
Print("not a is %d\n", !a);
}
PrintLogic(TRUE, FALSE);