What\'s the Scala recipe for reading line by line from the standard input ? Something like the equivalent java code :
import java.util.Scanner; public cla
Can you not use
var userinput = readInt // for integers var userinput = readLine ...
As available here : Scaladoc API