Es importante saber el significado de input y output.

  • Input: Get data from the keyboard, or a file, or some other device.

Es el valor que ingresaras desde el teclado, el valor o información que te pedirá y tendrás que agregar. (CIN)

  • Output: Display data on the screen or send data to a file or other device.

Es lo que se muestra en la pantalla (COUT), lo que se escribe en cout es lo que será mostrado en la pantalla.

tw

tw

CC BY 4.0 Basic output (printing) and input (text based) in C++ by Andrea Ac is licensed under a Creative Commons Attribution 4.0 International License.