2
answers
0
watching
167
views
4 Oct 2018

36. (2 points) Write a method that takes three integer parameters, startX, y, boxSize, and draws a row of adjacent squares, boxSize pixels on each side, with the upper left corner of the first square at startX, y. The row should extend all the way to the right edge of the display. The method needs to work for any values of the parameters. As an example the image to the right is the result of this sketch, assuming the sketch also includes your method definition. For different values, the last square could extend off of the display but there should be no space between the last square and the right edge. void setup() { partialRow (30, 50, 10);

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Nestor Rutherford
Nestor RutherfordLv2
6 Oct 2018
Already have an account? Log in
Start filling in the gaps now
Log in