I started by defining the T and F values as 1 and 0 respectively.
Sounds like a good start.
problem is I have to use logical operators and I think if statements.
You might be over-thinking this - you don't necessarily need "if()" statements.
Consider this simple example:
Code:
#include <stdio.h>
int main(void)
{
printf("%d, %d\n",0&&1,1&&1);
return 0;
}
It's not exactly what you need, but should illustrate how can approach solving the problem.
so I think I would have to scanf something, then compare/test it using && for AND table.
The assignment, as you stated, requires you to print out a table. I don't see any need to get user input, based on what you've provided.