[Instructions] [Search] [Current] [Syllabus] [Links] [Handouts] [Outlines] [Assignments] [Labs]
Back to Conditionals and Loops. On to Discussion of Exam 3.
Held Friday, April 30
Summary
Contents
Notes
function sum(exp, counter, start, finish)
begin
tmp = 0;
for counter = start to finish
tmp = tmp + exp;
end for
return tmp
end sum
exp is A[i] or
something similar?
sum(A[i], i, 1, 10)
History
Back to Conditionals and Loops. On to Discussion of Exam 3.
[Instructions] [Search] [Current] [Syllabus] [Links] [Handouts] [Outlines] [Assignments] [Labs]
Disclaimer Often, these pages were created ``on the fly'' with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.
This page may be found at http://www.math.grin.edu/~rebelsky/Courses/CS302/99S/Outlines/outline.36.html
Source text last modified Sun May 2 15:19:05 1999.
This page generated on Sun May 2 16:12:55 1999 by SiteWeaver. Validate this page's HTML.
Contact our webmaster at rebelsky@math.grin.edu