السلام عليكم ورحمة الله وبركاتة
أولاً أحب أشكركم على المنتدى ككل والمنتدى هاذا خاصةً
وجزاكم الله كل الخير .. فعلاً الكل في هذا المنتدى يخدم الآخر :)
أنا عندي هنا مسألة أعطانا إياها الدكتور لحلها , وهو عمل برنامج صغير في لغة تحميع الآلة
لكن البرنامج صعب بالنسبة إلي بما إني مستجد ومنظم جديد لهذا الدكتور
ولا أملك الوقت الكافي لدراسته او كيفية حله
فأرجو منكم جزاكم الله خير , مساعدتي في حله وتفرجون عني همي في هذا الوقت
وإن شاء الله أنا من بعدكم راح أفهم البرنامج ككل واقوم بشرحه للدكتور وكيفية عملة
البرنامج :
-ask the user to enter the number of rows R and read it.
-ask the user to enter the number of columns C and read it.
-ask the user to enter a two-dimesional array of RxC unsigned integers. Element of a single row should be separated ba a single space and each row is read in a new line.
-print the entered array in a new line printing also its entred dimesions.
-ask the user to enter a row number.
print the selcted row.
-print the sum of the element of the selected row.
Note : do not use multiplication instuction in your solution.
A simple execution of the prgramis showb below:
مثال على البرنامج اللذي يريدة
Enter number of rows in the array: 3
Enter number of culomns in the array: 5
Enter the array:
0 1 2 3 4
5 6 7 8 9
0 1 2 3 4
the enterd 3x5 array is :
0 1 2 3 4
5 6 7 8 9
0 1 2 3 4
Enter the row number : 1
the element of row 1 are : 5 6 7 8 9
The sum of row 1 = 35
وطالب انه يكون حله تحت الاوامر اللي اخذناها مثل
writestring
ReadInt
array
وما إلى ذلك
ولكم جزيل الشكر مقدماً...والله يوفقكم في دينكم ودنياكم
منتظر منكم المساعده على أحر من الجمر :)