Skip to content

Largest of three

Largest of three

Return the biggest of three int values. Math.max(a, b) gives the larger of two — nest two calls to handle three: Math.max(a, Math.max(b, c)).

Log in or create account

IGCSE & A-Level