import java.util.Random; public class GenStatues { public static void main(String [] args) { Random rnd = new Random(); double probWater = 0.9; int rows = 10; int cols = 10; int n = rows*cols; int [] a = new int[n]; for(int i=0; i