Question: Write a Java program to find the numbers greater than the average of the numbers of a given array. Expected Output: Input an Array:[1, 4,
Write a Java program to find the numbers greater than the average of the numbers of a given array.
Expected Output: Input an Array:[1, 4, 17, 7, 25, 3, 100] The average of the said array is: 22.0 The numbers in the said array that are greater than the average are: 25 100 The code has to be encapsulation, which means the code will have two classes. Also, It'll have a flowchart and diagram. Use Object-oriented programming paradigm to solve all these problems (means use class, constructor, instance variables and methods)
Write a Java program to find the numbers greater than the average of the numbers of a given array.
Expected Output: Input an Array:[1, 4, 17, 7, 25, 3, 100] The average of the said array is: 22.0 The numbers in the said array that are greater than the average are: 25 100
Use Object oriented programming paradigm to solve all these problems (means use class, constructor, instance variables and methods)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
