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