Question: Write a function that accepts an integer array as an argument. The function prints out the values of the given array multiplied with each other,
Write a function that accepts an integer array as an argument. The function prints out the values of the given array multiplied with each other, every operation on their own line. One operation can only occure once; ie. an array of 3 elements produces 6 lines.
// Example output with an array of [1,2,3]
1 * 1 = 1
1 * 2 = 2
1 * 3 = 3
2 * 2 = 4
2 * 3 = 6
3 * 3 = 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
