I'm in a 110 computer science college course, we use Visual Studio 2015.
I need help with finding the max/min of five variables for an assignment
Last edited on
Given five variables a
, b
, c
, d
, and e
:
std::min({a, b, c, d, e});
std::max({a, b, c, d, e});
Thank you, I was just missing the inner brackets