In-Class Lab 1
CS 220
Sept. 19, 1997
If you finish the first, move on to the others.
-
Write a SAL program to read an integer, n, then read n integers and output
the sum of the positive integers read.
-
Write a SAL program which inputs three integers and outputs their median.
-
Write a SAL program which calculates the average high and low temperatures
for the month of February. The input is a high and a low temperature for
each day of the month.
Thomas P. Kelliher
Thu Sep 18 20:28:30 EDT 1997
Tom Kelliher