If-else-if for algorithms that incorporate other algorithms

I wanted to see if this type of code will work for the algorithm portion of the task?

@yessica.sanchezlopez

Since it uses logic and a commonly used construct, I would say this is an example of an algorithm. However, the task requires an algorithm that calls another algorithm.

Andrea