Hey guys! I am recieving this error on the code posted below: "Operator '&&' cannot be applied to operands of type 'int' and 'int'. I do not understand why this is not working. is there a workaround or a better way I should be doing this. Thanks in advance!
C2, A2, B2, D, A, B and C are all int.
if (((C2) = (A2) + (B2)) && (D = A + B + C))
{
}