Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

max three values c++

    int a = 1;
    int b = 2;
    int c = 3;

    int m = std::max({a, b, c});
 
PREVIOUS NEXT
Tagged: #max #values
ADD COMMENT
Topic
Name
5+3 =