Print "Hello World" amount of times. The input portion will be handled automatically. You need to write a function with the recommended method signature.
A single line of input containing integer , the number of times to print "Hello World".
Output lines, each containing "Hello World".
Recommended Method Signature
Number Of Parameters: 1
For Hackers Using Clojure
This will be the outline of your function body (fill up the blank portion marked by underscores):
For Hackers Using Scala
def f(n: Int) = ______________________
For Hackers Using Haskell
hello_worlds n = ______________________
For Hackers Using other Languages
You have to read input from standard input and write output to standard output. Please follow the input/output format mentioned above.
NOTE: You only need to submit the code above, after filling in the blanks appropriately. The input and output section will be handled by us. The focus is on writing the correct function.