Task

Compute the sum and product of an array of integers.




declare int<> stream
append 34 76 233 8 2 734 56 stream
 
# outputs 1143
out (+ stream) endl console
 
# outputs 3.95961079808E11
out (* stream) endl console