Computer Science (Year 9)

Algorithms

What is the primary purpose of an algorithm in programming?