< HTML> My First JSP Using the if Statement <% int array[] = {1, 2, 3, 4, 5}, sum = 0; for (int i = 0; i < array.length; sum += array[i++]); out.println("The average = " + sum / array.length); %>