/*  Exploring Languages with Interpreters and Functional Programming
    Copyright (C) 2019, H. Conrad Cunningham
    Imperative Counting Program in Scala

1234567890123456789012345678901234567890123456789012345678901234567890

2019-01-24: Translated from Counting.java

*/

object CountingImp {

    def main(args: Array[String]) {
        var count : Int =  0
	var maxc : Int  = 10
	while (count <= maxc) {
		println(count)
		count = count + 1
	}
    }
 
}
