History of Idiom 195 > diff from v2 to v3
Edit summary for version 3 by Bart:
New Pascal implementation by user [Bart]
New Pascal implementation by user [Bart]
↷
Version 2
2019-09-28, 16:25:11
Version 3
2019-09-29, 09:08:57
Idiom #195 Pass a two-dimensional array
Pass an array a of real numbers to the procedure (resp. function) foo. Output the size of the array, and the sum of all its elements when each element is multiplied with the array indices i and j (assuming they start from one).
Idiom #195 Pass a two-dimensional array
Pass an array a of real numbers to the procedure (resp. function) foo. Output the size of the array, and the sum of all its elements when each element is multiplied with the array indices i and j (assuming they start from one).
Comments bubble
The :6:5 formats the output of the floating point varaible sum.