Something like this (not tested):
void printLarger(int a, int b)
{
cout << a >= b ? a : b;
}
9.5m questions
12.2m answers