char[] populate(int numCharacters) { // Check if the number of characters is within the specified range if (numCharacters < 11 || numCharacters > 59) { println("Number of characters should be between 11 and 59"); return null; } char[] array = new char[numCharacters]; for (int i = 0; i < numCharacters; i++) { array[i] = char(floor(random(97, 123))); // Random character from 'a' to 'z' in ASCII } return array; } void setup() { size(600, 200); int numCharacters = 12; // Change to your chosen value char[] randomCharacters = populate(numCharacters); if (randomCharacters != null) { textAlign(CENTER, CENTER); textSize(20); for (int i = 0; i < randomCharacters.length; i++) { text(randomCharacters[i], 20 + i * 20, height / 2); } } save("Assignment7_part1.png"); }