Difference between revisions of "CSC103 Take-Home Final Exam Spring 2012"

From dftwiki3
Jump to: navigation, search
Line 97: Line 97:
 
* When your program stops, '''var1''' will contain 55.
 
* When your program stops, '''var1''' will contain 55.
 
* Your program must compute this value by summing up 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 and storing the result in '''var1'''.
 
* Your program must compute this value by summing up 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 and storing the result in '''var1'''.
* The following program is not acceptable:
+
* The following program is <font color="red">'''not acceptable'''</font>:
  
 
   lod-c  55
 
   lod-c  55

Revision as of 07:48, 7 March 2012


...