Programming, Scala, Data Type, Abstraction, Introduction.
care of a specific task. However that is a pretty high level description of what a subroutine is. Let us look at some specific examples on simple subroutines. object Example { def main(args: Array[String]) { var num = 0; for( num <- until 20 ) { prntln( "Value of num: " + num ); } } } All that for