int sum (int a, int b) { return a + b; } int diff (int a, int b) { return b - a; } double mean (double a, double b) { return (a + b) / 2; }