Write a java program that creates a 4 x 5 two-dimensional array and fills it with the following numbers in this order: 16, 22, 54, 25, 41, 63, 91, 62, 42, 28, 98, 85, 13, 83, 33, 91, 58, 16, 23, 11 Find the following: Sum of the numbers. Average of the numbers to two decimal places. Maximum value of the numbers. Minimum value of the numbers. Total Count of the numbers greater than or equal to 50. You should first output the entire array and then output the answers to the above 5 questions. Make sure your output clearly identifies which answers are which.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter10: Classes And Data Abstraction
Section: Chapter Questions
Problem 22PE
icon
Related questions
Question

Write a java program that creates a 4 x 5 two-dimensional array and fills it with the following numbers in this order: 16, 22, 54, 25, 41, 63, 91, 62, 42, 28, 98, 85, 13, 83, 33, 91, 58, 16, 23, 11

Find the following:

Sum of the numbers.

Average of the numbers to two decimal places.

Maximum value of the numbers.

Minimum value of the numbers.

Total Count of the numbers greater than or equal to 50.

You should first output the entire array and then output the answers to the above 5 questions. Make sure your output clearly identifies which answers are which.

Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning