urgent due in 6 hours

profiledarlen11
hw_.docx

COSCHomework 4

Write your solutions on paper and hand in at the beginning of class on the due date.

1. Write a method sum that takes two integers m and n, and returns the sum of the integers m and n.

sum(3, 5) returns 12

sum(5, 3) returns 12

sum(2, 2) returns 2

sum(-1, 3) returns 5