Skip to content · ⁨Pular para o conteúdo⁩

Largest of three · ⁨Maior de três⁩

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.

Português

O maior de três

Retorne o maior de três inteiros a, b e c.

Uma forma simples: comece assumindo que a é o maior, depois compare com b e com c, mantendo o valor maior a cada comparação.

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP