If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Mathematical procedures and constants


Consider the following code segment:
a ← 3
b ← 8
c ← 5
result ← min( max(a, b), c) 
The code relies on these built-in procedures:
min(a, b)Returns the smaller of the two arguments.
max(a, b)Returns the greater of the two arguments.
After the code runs, what value is stored in result?
Choose 1 answer: