how to get input in scala code example
Example: how to take user input in Scala
/*
This is for SCALA!
Anyways, lets say you want to get the user's name. How will you get it?
This is how you will do it:
*/
var name: String = ""
name= readLine("What's your name?") //getting the input!
println("Hello, "+name)