Copyright ©
2005 Suradet Jitprapaikulsarn
สงวนลิขสิทธิ์ 2548 สุรเดช จิตประไพกุลศาล
Homework 9 (Due 22 August 2005)
- Write a function, sumEveryOther, to calculate the sum of every other number in a list of numbers.
- Write a function, firstPosition, to find the position of the first occurrence of a number in a list of numbers.
- Write a function, allPosition, to get the list of positions of a number in a list of numbers.