Last list item: Difference between revisions

Content added Content deleted
No edit summary
Line 11:
=={{header|ALGOL 68}}==
Was a translation of the sorted Wren version but the sorting has been removed as per the revised task requirements.
<lang algol68>BEGIN # find the last element after repeatedelyrepeatedly adding the sum #
# of the two smallest elements and removing them #
[ 1 : 9 ]INT a := ( 6, 81, 243, 14, 25, 49, 123, 69, 11 );