This code won't work for identical integers. The program gets three integers from the user and compares them. But this if statement will not work and always says A and B and identical even if they're not. Help please!
if(A = B)
{
printf("A and B are identical");
}
else if(B = C)
{
printf("B and C are identical");
}
else if(A = C)
{
printf("A and C are identical");
}