#include /* Note that we put parentheses around the parameters and ** the whole macro. */ #define SUM(x,y,z) ((x)+(y)+(z)) int main() { int a,b,c; /* Prompt for numbers */ printf("Enter 3 integers (one per line): "); scanf("%d", &a); scanf("%d", &b); scanf("%d", &c); printf("%d + %d + %d = %d\n", a,b,c, SUM(a,b,c)); return 0; }