/* * exp_eq.c - using comparison of values to take action */ #include // include functions in library when compiling int main(void) // header for function main { int xx, yy; // declare int variables xx and yy xx=3; // assign xx value of 3 yy=8; // assign yy value of 8 if (xx=yy) // assign the value of yy to xx, and if assignment successful, evaluates as if (8). 8 is not zero, so it it true { // if braces printf("xx equals yy.\n"); // output that they are the same } // end if braces else // if the expression was not true, enter else braces { // else braces printf("xx does not equal yy.\n"); // output that they are not the same. } return 0; // return 0 to colling program }