A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 one year ago
Average an array)
Write two overloaded methods that return the average of an array with the following headers:
public static int average(int[] array)
public static double average(double[] array)
Write a test program that random generate ten integers between 0 – 100, and ten double values between 0 – 50. Invokes both methods, and displays all values and the average values. (All double numbers will be displayed with twodigit decimal places.)
anonymous
 one year ago
Average an array) Write two overloaded methods that return the average of an array with the following headers: public static int average(int[] array) public static double average(double[] array) Write a test program that random generate ten integers between 0 – 100, and ten double values between 0 – 50. Invokes both methods, and displays all values and the average values. (All double numbers will be displayed with twodigit decimal places.)

This Question is Open

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0do you know how to implement those methods?
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.