Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Array Multiplication Table Use Visual Studio write the following program that creates and uses a loop to populate a one-dimensional array that holds the even

Array Multiplication Table

Use Visual Studio write the following 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. Also, please show the appropriate column headings and row headings.

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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions