C, modular programming problem
Users questions: No idea, to help answer, thank you! Write a function to determine which of the four integer arguments if there were two values are equal.
Experts answer:intfun (inta, intb, intc, intd) {ints; if (a == b) {printf ("% d,% d *n ,a,b);s=1;}elseif(a==c){printf( %d,%d*n ,a,c);s=2;}elseif(a==d){printf( %d,%d*n ,a,d);s=3;}elseif (c==b){printf( %d,%d*n ,c,b);s=4;}elseif(d==b){printf( %d,%d*n ,d,b);s=5;}elseif(d==c){printf( %d,%d *n ,d,c);s=6;}return(s);}