Instructions that work together
A program is a set of instructions. An ordering program might show products, calculate a total, take payment, and confirm the order. A programmer writes and changes those instructions in source code.
The work also includes deciding what should happen, handling unusual cases, and checking the result. Developers use programming languages to express instructions and combine smaller pieces, such as functions, into a working product.