Sum of squares: Difference between revisions

Algol W using Jensen's Device - note it is a translation of the Algol 60 version.
(Added Algol 60 sample - using Jensen's Device)
(Algol W using Jensen's Device - note it is a translation of the Algol 60 version.)
Line 408:
 
===Using Jensen's device===
{{Trans|ALGOL60}}
 
Using the classic [[Jensen's Device]] (first introduced in Algol 60) we can use a generic summation procedure, as in this sample:
 
3,044

edits