I need help with my Java Homework.
here are the directions,


"Write a method called average that accepts two integer parameters and returns their average as a floating point value.
Overload the average method such that if three or four integers are provided as parameters, the method returns the average of all three or four values. "

i have to use this using textpad .
i think i am allowed to use API.

please help me
thank you