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.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage