Dimensional array to the screen in an organized fashion


Using Java codes make a program that creates and uses a loop to populate a one-dimensional array that holds the even numbers between 1 and 12; creates and uses a loop to populate a second one-dimensional array that holds the odd numbers between 1 and 12; creates a two-dimensional array that holds the values of the products of the two one-dimensional arrays. Example...the the value of [0][0] in the two dimensional array should be the value of the the [0] subscript in the even array multiplied by the [0] subscript in the odd array. The value of the [1][1] spot in the two dimensional array should be the value of the [1] subscript in the even array multipled by the [1] subscript in the odd array. Output the values of the two dimensional array to the screen in an organized fashion so it is clear which values are which. Remember, you need to show as output the entire multiplication table...a total of 36 values. Something like the following:


1 3 5 7 9 11
2 2 6 10 14 18 22
4 4 12 20 28 36 44
6 6 18 30 42 54 66
8 8 24 40 56 72 88
10 10 30 50 70 90 110
12 12 36 60 84 108 132

Request for Solution File

Ask an Expert for Answer!!
Accounting Basics: Dimensional array to the screen in an organized fashion
Reference No:- TGS0670825

Expected delivery within 24 Hours