Parameters2. Write a method named printColumns that accepts two parameters: the number of columns and the number of spaces which separate each column. Your method should print the column numbers starting at 1, with each column number separated by the given number of spaces. For example, the call printColumns(8, 5) should produce EXACTLY, the following output:C-1 C-2 C-3 C-4 C-5 C-6 C-7 C-8Return3. Write a method named average4 that accepts four integers as parameters and returns the average of the four values. For example, the call average4(15, 22, -1, 12) should return 12.0.