#include <iostream> using std::cout; using std::endl; int larger(int& m, int& n); int main() { int value1 = 10; int value2 = 20; cout << endl << larger(value1, value2) << endl; return 0; } int larger(int& m, int& n) { return m > n ? m : n; }
20