A computer program is a set of instructions that are executed by a computer to solve a problem or perform a task.
Before writing a program the programmer must sit down and think what must be done to solve the problem or do the task.
Computers systems do only what they are told to, so if you want a computer to solve a problem you must give them specific instructions.
Computer scientists use algorithms to solve problems.
Algorithms are all around us…, each written or verbal description of logical steps of action is an algorithm.