Programming Concepts Tutorial

Learn the fundamental concepts of computer programming

Input and Output

Input and Output (I/O)

Programs need a way to receive information from the outside world (Input) and send information back (Output).

  • Input: User typing on a keyboard, moving a mouse, loading a file, or getting data from a network.
  • Output: Printing text to the screen, playing a sound, saving a file, or sending network data.

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics