In my CS class, I was asked to write a java program to replace each element of the array with every other element's product in a given array of integers. I'm so confused about what it means? For...


In my CS class, I was asked to write a java program to replace each element of the array with every other element's product in a given array of integers.  I'm so confused about what it means?


For example, now I have the input array1 = { 10, 22, 36, 48, 50, 69, 78}, and I want the output array with a product of every other element:
[5040, 2520, 1680, 1260, 1008, 840, 720]. It just doesn't make sense to me.










Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here