Codele / How computers think
In, think, out
Every program takes something in, works on it, and gives something back. A shop till is a program that does this all day.
- The input is what you give a program: here, two prices.
- The process is the work the program does on the input: here, adding.
- The output is what the program gives back: here, the total on the screen.
- Every program, from a till to a video game, is in, think, out.
Loading the playable lesson…