Say we wanted to write a method that would take in three integers and return their average (the total of all three numbers divided by 3), including any decimal fraction part in the answer. What would be the BEST method signature to write for this?

public double average(int a, int b, int c)
  • public int average(int a, int b, int c)
  • public void average(int a, int b, int c)
  • public boolean average(int a, int b, int c)

You can assume we want a method that will return the most accurate average possible.