Skip to content · ⁨コンテンツへスキップ⁩

Largest of three · ⁨3つの数の最大値⁩

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.

日本語

3つの最大値

3つの整数 a、b、c の中で最大のものを返してください。

簡単な方法:最初に a が最大だと仮定し、次に b と c と比較して、毎回大きい方を維持します。

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP