Skip to content · ⁨Saltar al contenido⁩

Largest of three · ⁨El mayor de tres⁩

English

Largest of three

Return the biggest of three integers a, b, and c.

A simple way: start by assuming a is the largest, then compare it with b and with c, keeping the bigger value each time.

Español

El mayor de tres

Devuelve el valor más grande entre tres enteros a, b y c.

Una forma sencilla: comienza asumiendo que a es el mayor, luego compáralo con b y con c, conservando el valor mayor en cada comparación.

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP