Complete the following program to compute the average length of the words. Invoke the appropriate method to compute the length of each word, compute the sum of the five results, and divide by 5.0. (You will see in chapter 4 why you need to divide by 5.0 and not simply 5.)

Complete the following file:

AverageTester.java

public class AverageTester { public static void main(String[] args) { String word1 = "Mary"; String word2 = "had"; String word3 = "a"; String word4 = "little"; String word5 = "lamb"; // your work here int length1 = . . .; int length2 = . . .; . . . . . . . . . . . . System.out.println(average); System.out.println("Expected: 3.6"); } }