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

ساعدوني في حل الأسايمنت بلييييز

بدأه صحار في 26 أكتوبر 2008 · 3 رد · 697 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

In this assignment you are required to write a java program that takes as an input a twodimensional

array whose elements represent cells of certain colors. A cell could be one of two

different colors only: either green or white. The color “green” will be used to indicate an

abnormal cell, whereas “white” will indicate a normal cell. There should be more normal cells

than abnormal ones. The task of the program is to find the number of abnormal cells that are in

the same continuous area as a given cell (i.e cell whose coordinates will be specified). Your

program should implement a recursive method to achieve this task. This problem is similar to

the “blob” example we gave you in Lecture 3. Please note that along with this document, you

are provided with three files. That is, you will not have to build your program from scratch;

instead you will need to complete the given program.

Sample output:

The following is a sample output of what you are expected to achieve. Your program must

behave exactly the same.

(Run 1)

(Run 2)

#2

أولاً ترجم هذا الكلام إلى العربية

ثم نرى بعد ذلك كيف يمكن أن نساعدك

تحياتي

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

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

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

728x90.png

#3

ولا تنسى اضافه محاولاتك ولو كانت قليله ..

بالتوفيق ،،

http://informatic-ar.com منصة تعليمية عربية في علوم الحاسب والبرمجة

https://moalfat.com  للكتب الالكترونية والكورسات التعليمية

Everything we see now is just an engineering solution based on old science

#4

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

حاول إنك توضح أكثر أخي الكريم


HeartOutputStream myHeart;
OutputStream myHeartOutStream;

myHeartOutStream = MAllaw.getHeart().getOutputStream();
myHeart = new HeartOutputStream(myHeartOutStream);

while(myHeart.isStillBeating())
myHeart.write("I ♥ Java");

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

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

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

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

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