โ Back to Loops
Question 336
Product of Array Elements
Product of Array Elements
Given the array { 1, 2, 3, 4, 5 }, multiply all elements together with a loop and print the product:
120Expected Output:
120
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.