#include int FindMax(int, int); // the function prototype int main() { int firstnum, secnum, max; cout << "\nEnter a number: "; cin >> firstnum; cout << "Great! Please enter a second number: "; cin >> secnum; max = FindMax(firstnum, secnum); // the function is called here cout << "\nThe maximum of the two numbers is " << max << endl; return 0; } int FindMax(int x, int y) { // start of function body int maxnum; // variable declaration if (x >= y) // find the maximum number maxnum = x; else maxnum = y; return maxnum; // return statement }