الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

[مخالف - طلب حل : ]يا ليت تساعدوني في سؤال

مغلق
بدأه Prince soma في 28 نوفمبر 2011 · 2 رد · 353 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

كيفكم أخواني

أنا محتاج مساعدة في سؤال عجزت أمامه يا ليت تساعدوني

هذا هو السؤال

Write a program that reads integers, finds the smallest of them, and counts
its occurrences. Assume that the input ends with number 0. Suppose that
you entered 30 50 20 50 20 50 100 0; the program finds that the smallest is
20 and the occurrence count for 20 is 2.
If the occurrences of the smallest number is greater than 1, print the value
of the number and the number of occurrences. However, if the smallest
number occurrences is equal 1, print only the value of the smallest number.
Note: the occurrences of a number means how many times this number has
been entered in the input.
#2
Prince soma كتب:

السلام عليكم

كيفكم أخواني

أنا محتاج مساعدة في سؤال عجزت أمامه يا ليت تساعدوني

هذا هو السؤال

Write a program that reads integers, finds the smallest of them, and counts
its occurrences. Assume that the input ends with number 0. Suppose that
you entered 30 50 20 50 20 50 100 0; the program finds that the smallest is
20 and the occurrence count for 20 is 2.
If the occurrences of the smallest number is greater than 1, print the value
of the number and the number of occurrences. However, if the smallest
number occurrences is equal 1, print only the value of the smallest number.
Note: the occurrences of a number means how many times this number has
been entered in the input.

السلام عليكم

اظن ان موضوعك مخالف لقوانين المنتدى

فقرة حل الواجبات

اقرا القانون

http://www.arabteam2...showtopic=29343

ضع محاولتك و الاخوة سيساعدوك

#3

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته.

مرحباً بكم في منتدى الفريق العربي للبرمجة

تأسف إدارة المنتدى لغلق الموضوع وذلك لمخالفته قوانين المشاركات، فقرة طلب حل الواجبات والتمارين.

قواعد طرح المشاركات

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

حزمة المحرك الإصدارة 0.8

أي أحد يجد أني ظلمته فليراسلني

وبإذن الله لو كان له حق سيأخذه

728x90.png

هذا الموضوع مغلق.

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…