c++ max of 3 numbers code example
Example: max two numbers c++
template <class T> inline T max(T a, T b)
{
return a > b ? a : b;
}
//Example: max(2,5) = 5
template <class T> inline T max(T a, T b)
{
return a > b ? a : b;
}
//Example: max(2,5) = 5