JSP: Tableaux de Int JSP

Author:
       

  
    My First JSP
  

  
    

Using the if Paysment

    <%         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);     %>                       

Leave a Reply

Your email address will not be published. Required fields are marked *