Part 1-
Continue to work on your midterm project. Think of how you can incorporate functions into your program.
Part 2-
Read the class notes from Tuesday.
READ LEARNING PROCESSING CHAPTER 7 if you have not already done so.
Part 3-
Email me the code that creates the following program.
Create a function that draws a red rectangle with a blue stroke at a custom x, y location and with a customizable width and height.
Create another function that returns the sum of two numbers (how much is added is up to you, however the function should have at least one parameter).
Use a for loop to call both of these function 5 times to draw 5 different rectangles. Call your adding function with i as the argument, and use the number that’s returned to you as the x location of the rectangles.