Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in java please 2. (a) Write a function double getAverage (int n, int []x ) that given an array and its dimension computes and returns
in java please
2. (a) Write a function double getAverage (int n, int []x ) that given an array and its dimension computes and returns the average value of all the elements of the array. (b) Similarly, write a function double getstandardDev(int n, int [ ] x ) that computes and returns the standard deviation. (c) Write a function called int getMaximum (int n, int[] x ) that given an array and its dimension computes and returns the maximum valueStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started