Using Two Loop Indexes
Using Two Loop Indexes
<%
for (int i = 0, doubleIndex = 0; i <= 10;
i++, doubleIndex = 2 * i) {
out.println("i: " + i +
" doubleIndex: " + doubleIndex + "
");
}
%>