عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 24-02-2012, 05:41 PM   #3

just a student

جامعي

الصورة الرمزية just a student

 
تاريخ التسجيل: Feb 2012
التخصص: ...
نوع الدراسة: إنتظام
المستوى: الرابع
الجنس: أنثى
المشاركات: 7
Skaau.com (23) رد: }{ تعالو نفهم بعض الsheet }{....برمجة 2

4. After the list, sum, average, max and min have been printed; ask the user to enter a value. Then print the id of each salesperson who exceeded that amount, and the amount of their sales. Also print the total number of
salespeople whose sales exceeded the value entered.

5. The salespeople are objecting to having an id of 0—no one wants that designation. Modify your program so that the ids run from 1-5 instead of 0-4. Do not modify the array—just make the information for salesperson 1 resides in array location 0, and so on.

6. Instead of always reading in 5 sales amounts, at the beginning ask the user for the number of sales people and then createan array that is just the right size. The program can then proceed as before.


ممكن حدآآ يخبرني ايش المطلووب ؟؟؟ نقرتين لعرض الصورة في صفحة مستقلة

 

just a student غير متواجد حالياً   رد مع اقتباس