What is a computer program? A computer is a device that processes instructions to achieve a task. This set of instructions is called a computer program.
A computer program usually takes some data such as a string or a number and performs calculations to produce results. We usually refer to the data as the program’s input and the results as the program’s output.
To write computer programs, we use a computer programming language. There are many different languages such as BASIC, C, C++, and ...