Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

Largest of three · ⁨ตัวมากที่สุดในสามตัว⁩

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.

ไทย

ค่ามากที่สุดในสามจำนวน

กลับค่ามากที่สุดของสามจำนวน a, b และ c

วิธีง่าย: เริ่มต้นด้วยการสันนิษฐานว่า a เป็นค่ามากที่สุด แล้วเปรียบเทียบกับ b และกับ c, เก็บค่าที่ใหญ่กว่าทุกครั้ง

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP