Largest of three · الأكبر بين ثلاثة
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · تحتاج هذه الصفحة إلى متصفح حديث (يدعم SharedArrayBuffer). يرجى تحديث Chrome أو Edge أو Firefox أو Safari إلى أحدث إصدار.
English
Largest of three
Return the biggest of three int values. Math.max(a, b) gives the larger of two — nest two calls to handle three: Math.max(a, Math.max(b, c)).
العربية
الأكبر بين ثلاثة
أدرِ الأكبر من بين ثلاث int قيم. يعطي Math.max(a, b) الأكبر بين اثنين — ضع استدعاءين متداخلين للتعامل مع ثلاثة: Math.max(a, Math.max(b, c)).
Complete max3(int a, int b, int c) so it returns the largest of the three. Hint: Math.max takes two values. · أكمل max3(int a, int b, int c) لتُرجع الأكبر بين الثلاثة. تلميح: Math.max تأخذ قيمتين.
Click Run to see the output here. · اضغط تشغيل لرؤية المخرجات هنا.