Copyright © 2005 Suradet Jitprapaikulsarn
สงวนลิขสิทธิ์ 2548 สุรเดช จิตประไพกุลศาล

Homework 5 (Due Monday July 11, 2005)

  1. Write the function, sumPositive, to calculate the sum of all positive numbers in the list of numbers.
  2. Write the function, sumSquare, to calculate the sum of the square of each number in the list of numbers.