Write a method that takes a string x and a positive integer n as input parameters and prints the corresponding string x, n times on the screen, one in each line. For example, if x is "csE110" and n is 3, it will print the following on the screen:
csE110
csE110
csE110