Obtain the input entered by the user. Convert the user's input into numerical form. In order for a computer to be able to execute our algorithm, we'll need to express it in a programming language. Programming languages provide the necessary precision that we'll need, and they're simple enough for computers to understand. In order to create working programs for a computer, we need to express our algorithms in a highly precise language that's specifically designed for computers.
Every computer comes with such a language, known as machine language .
Which machine language your computer supports depends on the type of CPU installed on it. Intel CPUs understand one language, Motorola CPUs use another, and so on. The language used by different CPUs from the same manufacturer is often similar, although not exactly the same. For example, programs written for Intel's 486 CPU will run on a Pentium CPU, but not all Pentium programs will run on a 486. Although it's possible to write programs in machine language, that's not what programmers typically do.