/// exercises -- arrays - sum to 100 int a[]; int many=15; void setup() { //// setup //// size( 500,500 ); a= new int[100]; reset(); } void draw() { //// next frame //// background(250); fill(0); text( "Press the 'r' key to change the array values", width/2, 10 ); //// show the array float y=30; for( int j=0; j<11; j++) { // show the next element. text( a[j], 20, y ); y = y + 30; } } void keyPressed() { //// handle keys //// if (key == 'q') exit(); if (key == 'r') reset(); } void reset() { //// Fill the array with random number values. /// for( int j=0; j