Everything would be implemented inside the main() method. Part 1) Print the numbers inside the 2d array in a specific format. 1. Create and Declare an integer 2d array[5][4] named multiNumbers with the following values: [12,45,19,5]| [11,44,30,6] [22,27,36,7]| [55,68,11,8] [12,41,86,9|| 2. Print the numbers inside the array using a Nested For Loop and print in the following format: multiNumbers [0] [1] : 45 multiNumbers [0] [0] : 12 THultiNumbers[1] [0] : 11 multiNumbers [2] [0] : 22 multiNumbera (3] [0] : 55 multiNumbers (4] [0] : 12 multiNumbers [0] [3] : 5 multiNumbera(1) [3]: 6 multiNumbers [0] [2] : 19 multiNumbers[1][1] : 44 multiNumbers[1] [2] : 30 multiNumbers[2][1] : 27 multiNumbers [2] [2] : 36 multiNumbers[2] [3] : 7 multiNumbers (31 (1) : 68 multiNumbers(41 (1) : 41 nultiNumbers [ 3] [2] : 11 multiNumbers [41 [2] : 86 nultiNumbers [3] [3] : 8 multiNumbers [4] [31 : 9 Part 2) Print the sum of the 3rd row of the array multiNumbers. 1. Design a for loop to calculate the sum of the entire 3rd row in the array multiNumbers: [12,45,19,5| [11,44,30,6]| [22,27,36,7| [55,68,11,8]| |12,41,86,9| Calculate this row 2. Display the sum of the 3d row in the following format: Sum of the numbers in row 3 is : 92 Part 3) Print the sum of the entire column 3 of the array multiNumbers. 1. Design a for loop to calculate the sum of the entire 3rd column in the array multiNumbers: Calculate this column || [12,45,19,5| [11,44,30,6]| [22,27,36,7|| [55,68,11,8] [12,41,86,9| 2. Display the sum of the 3rd row in the following format: Sum of the numbers in column 3 is : 182

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

Please use java as the programing language and write comments! Thanks!

Everything would be implemented inside the main() method.
Part 1) Print the numbers inside the 2d array in a specific format.
1. Create and Declare an integer 2d array[5][4] named multiNumbers
with the following values:
[12,45,19,5]|
[11,44,30,6]
[22,27,36,7]|
[55,68,11,8]
[12,41,86,9||
2. Print the numbers inside the array using a Nested For Loop and print
in the following format:
multiNumbers [0] [1] : 45
multiNumbers [0] [0] : 12
THultiNumbers[1] [0] : 11
multiNumbers [2] [0] : 22
multiNumbera (3] [0] : 55
multiNumbers (4] [0] : 12
multiNumbers [0] [3] : 5
multiNumbera(1) [3]: 6
multiNumbers [0] [2] : 19
multiNumbers[1][1] : 44
multiNumbers[1] [2] : 30
multiNumbers[2][1] : 27
multiNumbers [2] [2] : 36
multiNumbers[2] [3] : 7
multiNumbers (31 (1) : 68
multiNumbers(41 (1) : 41
nultiNumbers [ 3] [2] : 11
multiNumbers [41 [2] : 86
nultiNumbers [3] [3] : 8
multiNumbers [4] [31 : 9
Part 2) Print the sum of the 3rd row of the array multiNumbers.
1. Design a for loop to calculate the sum of the entire 3rd row in the array
multiNumbers:
[12,45,19,5|
[11,44,30,6]|
[22,27,36,7|
[55,68,11,8]|
|12,41,86,9|
Calculate this row
Transcribed Image Text:Everything would be implemented inside the main() method. Part 1) Print the numbers inside the 2d array in a specific format. 1. Create and Declare an integer 2d array[5][4] named multiNumbers with the following values: [12,45,19,5]| [11,44,30,6] [22,27,36,7]| [55,68,11,8] [12,41,86,9|| 2. Print the numbers inside the array using a Nested For Loop and print in the following format: multiNumbers [0] [1] : 45 multiNumbers [0] [0] : 12 THultiNumbers[1] [0] : 11 multiNumbers [2] [0] : 22 multiNumbera (3] [0] : 55 multiNumbers (4] [0] : 12 multiNumbers [0] [3] : 5 multiNumbera(1) [3]: 6 multiNumbers [0] [2] : 19 multiNumbers[1][1] : 44 multiNumbers[1] [2] : 30 multiNumbers[2][1] : 27 multiNumbers [2] [2] : 36 multiNumbers[2] [3] : 7 multiNumbers (31 (1) : 68 multiNumbers(41 (1) : 41 nultiNumbers [ 3] [2] : 11 multiNumbers [41 [2] : 86 nultiNumbers [3] [3] : 8 multiNumbers [4] [31 : 9 Part 2) Print the sum of the 3rd row of the array multiNumbers. 1. Design a for loop to calculate the sum of the entire 3rd row in the array multiNumbers: [12,45,19,5| [11,44,30,6]| [22,27,36,7| [55,68,11,8]| |12,41,86,9| Calculate this row
2. Display the sum of the 3d row in the following format:
Sum of the numbers in row 3 is : 92
Part 3) Print the sum of the entire column 3 of the array multiNumbers.
1. Design a for loop to calculate the sum of the entire 3rd column in the
array multiNumbers:
Calculate this column
||
[12,45,19,5|
[11,44,30,6]|
[22,27,36,7||
[55,68,11,8]
[12,41,86,9|
2.
Display the sum of the 3rd row in the following format:
Sum of the numbers in column 3 is : 182
Transcribed Image Text:2. Display the sum of the 3d row in the following format: Sum of the numbers in row 3 is : 92 Part 3) Print the sum of the entire column 3 of the array multiNumbers. 1. Design a for loop to calculate the sum of the entire 3rd column in the array multiNumbers: Calculate this column || [12,45,19,5| [11,44,30,6]| [22,27,36,7|| [55,68,11,8] [12,41,86,9| 2. Display the sum of the 3rd row in the following format: Sum of the numbers in column 3 is : 182
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Block Comments
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education