Assignment #4

This week we learned to use functions. I built the same program as last week, but eliminated almost 100 lines of code!

Most of this was done by putting the ten buttons mouse pressed properties into a for loop, and putting the buttons size and color in a function, then calling those colors to the lines being drawn in the circle.

Here is the program:

http://www.aaronparsekian.com/projects/ICMassignment4

And the code:

Leave a Reply

Your email address will not be published.