Write a method (average) that takes as input a variable number of integers. The method should return the average of the integers as a double. code example
Example: Write a method (average) that takes as input a variable number of integers. The method should return the average of the integers as a double.
Average of [1, 1, 1, 1, 1] is 1.0