The input, process, output pattern
The input, process, output pattern

Interactive programs usually follow an input, process, output pattern. The user provides data, the program works with it, and the program then displays a result or message.
Step-by-step lessons on Edexcel GCSE Computer Science Accepting and responding to user input. Each one builds up to exam-style questions. Build strong foundations in binary, logic and core programming constructs before moving on to the more complex algorithm design and evaluation questions.