Step 3: Coding!

Finally, let's do the fun part and start the actual coding! We will do it in the following order:

  • First we'll define all the global variables that we need,
  • Then we'll write the procedures and functions that will be commonly used,
  • Lastly, we'll write the three loops previously discussed.