Task

Write a procedure which accepts as arguments another procedure and a positive integer.

The latter procedure is executed a number of times equal to the accepted integer.




F repeat(f, n)
   L 1..n
      f()
 
F procedure()
   print(‘Example’)
 
repeat(procedure, 3)