Reading from the terminal |
You already noticed the functions print, println, and printf for printing to the terminal.
To read input from the terminal, there are a number of read-methods.
You can learn about them in my Scala documentation.
Reading from the terminal |