Difference between revisions of "CSC103 2011 Take-Home Final Exam"
Line 58: | Line 58: | ||
=Problem #3= | =Problem #3= | ||
− | Write a javascript program that | + | * Write a javascript program that compute the sum of all the even numbers between 0 and 100, included, and stores the result in a variable called sumEven. The same program will also compute the sum of all the odd numbers between 0 and 100, included. This second number will be stored in a variable called sumOdd. |
+ | |||
+ | * Use the programs from the [[CSC103_Lab_4_Solution_2011| Lab 4 solution]] programs for inspiration in terms of organization and documentation. | ||
+ | |||
+ | =Problem #4= | ||
+ | |||
</onlydft> | </onlydft> |