right now I have it so you can input a number into an array and then that number is displayed in descending order. What i'm having trouble with though, is c. For example, if the array was 2,4,6,3, the result would be 8, 18. So far, not sure if my code is even correct, and if it is, how to get the results of multiplying each number in the array by the number after it into a second array called "multNumbers", and how to get those results to show up on the web page.
Here is my code so far
enter code here
https://codepen.io/kaiokokokk/pen/XWWQQzj