For unlimited access to Study Guides, a Grade+ subscription is required.
which line in the following program will cause a compiler error?
7. Enter the best choice from the list of choices A-W above for what this program displays void setup() { frameRate (10); int limit=0; void draw() { background (255); if (limit > mousex || limit > mousey) limit = 0; for(int col = 0; col <=limit; col = col + 20) for (int row = 0; row <= limit; row – row + 20) rect (row, col, 20, 20); limit = limit + 20;
57. Line 5 (A) for (int j = -i*2; j<= i*2; j++){ (B) for (int j = 0; j< i+2+1; j++){ (C) for (int j = -i; j> i; j++) { (D) for (int j = 0; j<= i*2; j++){ (E) for (int j = i; j<= i+2; j+i) {