The problem with the codes it that, in "getAverage" it is not allowing the "return null". I assume this is because it is declared a double. What is the proper way to return the "getAverage"?


...