10 Replies Latest reply on Aug 28, 2008 2:25 AM by 807589

    array program,, need help

    807589
      How do i make a array program with this requirements?

      "Input ten decimal values from the user. Find the sum and average of the data. Find the smallest value and the largest value. Display these four results to standard output using System.out."
      "public static final int NUMITEMS = 10;"

      i think i probably can make sum,avg,max,min program, but i dont know how to do a program for getting values from user and insert that program into the whole program...

      also, do i need 2 classes for that assignment?