Basic I/O
In this section we start by considering how a Kotlin program can receive input via the command line, as part of the command that invoked the program.
After that, we focus on basic console I/O operations—i.e., those that involve reading from standard input or writing to standard output once the program is running.
After completing this section, you will understand how to handle command line arguments, how to read from the console and how to format data for console output. File I/O will be considered elsewhere.