Similar to code in the previous lesson
Code in Listing 3 is similar to code in the previous program.
There is one major difference.
When the putpixel function was called in the previous program: