#include #include extern int max(int a, int b); /* Prototype of function */ int main(void) { int a, b, m; while (1) { printf("a, b: "); if (scanf("%d%d", &a, &b) < 2) break; m = max(a, b); printf("max(a, b) = %d\n", m); } return 0; }