عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 20-12-2013, 09:55 PM   #8

noofi saeed

جامعي

 
تاريخ التسجيل: Nov 2012
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: أنثى
المشاركات: 11
افتراضي رد: [cpcs 202 - برمجة 1] لديك سؤال , شيء غير مفهوم ,,, تفضل هنا , موضوع مفيد

السلام عليكم ..

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

واحتاج مساعدة في حل البروجت دا نقرتين لعرض الصورة في صفحة مستقلةنقرتين لعرض الصورة في صفحة مستقلةنقرتين لعرض الصورة في صفحة مستقلة


Extension 1: The program should store all transactions for every country separately ( Only Sender name and the amount to transfer) Hint: you need 11 arrays to store this information (five arrays for sender's names , five arrays for amount to transfer and the last one for storing the id numbers for all senders).

Extension 2: Write a method called displayDetails() which accepts two arrays (one as String which contains the sender's names and the second one which contains the amount to transfer) and string value which represent country name.
And display the names and amount to transfer also it should display the total amount.
For example suppose the following senders send the corresponding amount
(Ali, 10000) , (Shoaib ,12000 ) , (Abdullah , 9000),…..
The method should display like the following
The details of transactions Yemen
---------------------------------------
S.No Name Amount
-----------------------------------------------------------------------------------------------------------------------------
1Ali 10000
2Shoaib 12000
3Abdullah 9000
Total Amount: 31000


الله يسعدكم دنيا واخخخخخره انقذوني نقرتين لعرض الصورة في صفحة مستقلةنقرتين لعرض الصورة في صفحة مستقلة حتى لو البداية وانا اكممل نقرتين لعرض الصورة في صفحة مستقلةنقرتين لعرض الصورة في صفحة مستقلة

 

noofi saeed غير متواجد حالياً   رد مع اقتباس