#include using namespace std; int Sum(int a, int b, int c) // declaration and definition { int r = a + b + c; return r; } double Average(int x, int y, int z) { double total = Sum(x,y,z); double answer = total / 3.0; return answer; } int main() { int q, w, e; cout << Sum(3, 5, 7); cout << "Type 3 numbers: "; cin >> q >> w >> e; int answer; answer = Sum(q, w, e); // cout << "Sum = " << answer << '\n'; }