You would program a computer because you want it to perform a task