Interval.st
branchjv
changeset 19277 e9182dc00c6d
parent 18512 828873354c68
parent 19253 45c2b67527f1
child 19478 1f5aa87f6170
--- a/Interval.st	Fri Feb 26 06:41:16 2016 +0100
+++ b/Interval.st	Sat Feb 27 12:59:25 2016 +0000
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
               All Rights Reserved
@@ -177,9 +175,10 @@
 sum
     "sum up all elements."
 
-    "/ sum(1..n) is n*(n+1)
-    "/              -------
+    "/              n*(n+1)
+    "/ sum(1..n) is -------
     "/                 2
+    
     start < stop ifTrue:[
         step == 1 ifTrue:[
             start == 1 ifTrue:[