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)
