Truth Table (P → Q)

Write a program to enumerate all the four combinations of truth values of P and Q, and tabulate the value of P, Q, not P or Q. Actually, this is equivalent to "P → Q".

P       Q       not P or Q
===     ===     ==========
T       T       T
T       F       F
F       T       T
F       F       T