Complete the method header and body to calculate the average…
Complete the method header and body to calculate the average of two double values. The method should be accessible from other classes and should not require an object instance to be called: __1__ __2__ __3__ calculateAverage(__4__ a, __5__ b) { __6__ (a + b) / 2.0;} Use this template for your answer (please type fully – you cannot copy): 1: [answer in blank 1] 2: [answer in blank 2] … 6: [answer in blank 6]
Read Details