Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Java Arrays

pol212
pol212 


Please complete the program in the attached file. Instructions are commented out. I made a start to it already. Attachments Tags Clarifications

Answers

Answer

mariobeka
mariobeka 



In the file you'll find the complete program. Attachments
ArrayPractice.java (2 K) Download Preview
sum+=intArray[i]; } System.out.println("\nSum = "+sum); avg=(double)sum/SIZE; System.out.println("Average = "+avg); // find and display the highest value in the array int maxValue = intArray[0]; for(int i=1;i < intArray.length;i++){ if(intArray[i] > maxValue){ maxValue = intArray[i]; } } System.out.println("Max Value : "+maxValue); // find and display the lowest value in the array int

Screen Shot 2013-11-24 at 6.38.46 PM.png (20 K) Download Preview

Screenshots
Screenshot
Purchase Answer