You would write a program because you want to teach a computer how to do something