max function c++ more than 2 values code example
Example: max three values c++
int a = 1;
int b = 2;
int c = 3;
int m = std::max({a, b, c});
int a = 1;
int b = 2;
int c = 3;
int m = std::max({a, b, c});