1. Write a program that reads a number and then prints the sum of its divisors. The divisor of a number is one that when the number is divided by it, the remainder is zero. Thus if the number read is 16, the program would print the sum of 1 + 2 + 4 + 8, or 15.

2. Write a program that reads characters until it encounters a period. It then prints the character read before the period. Thus if the input is asd5f.rd, the program prints f



3. Evaluate the following (you may use the table on the board):
(a) (7 >= 3) || ! 9 == 8)	    (b)  !(4 >= 5) &&  !(3 <  3)

(c) !((5 == 9) || !(3 > 2))    (d) (6 <= 8) && (3 < 5) && (3 = 3)



4. Write a method that takes three integers as parameters and returns the largest of the three.