You are viewing a single comment's thread. Return to all comments →
object Solution { def main(args: Array[String]) { val sc = new java.util.Scanner (System.in); var n = sc.nextInt(); } } def f(n: Int) : Unit = { for (i <- 1 to n) { println("Hello World") } }
Seems like cookies are disabled on this browser, please enable them to open this website
Hello World N Times
You are viewing a single comment's thread. Return to all comments →