•Using functions to execute algorithms has several advantages:
–Instead of having to rewrite an entire algorithm every time you need it you can just call a function you (or someone else) defined earlier
–Functions make your code much easier to read because they hide its complexity
–