CS 115 Homework 8 (Individual)

70 Points

Due Sunday, April 4 midnight.

Submit your work with the Canvas link.

Educational goals of this lab - verify that every student can

What does it mean for numbers to be friendly? You calculate the sum of the divisors (or factors) of each number (including 1 and including itself). Take the ratio of the sum to the number (the sum will always be larger than the number) for each number. Compare the two ratios. If they are equal the numbers are friendly. The two numbers have to be greater than zero, otherwise you have division by zero.