java
euclidean algorithm
(1) Let a = 35, and b = -49. Please compute GCD(a, b).
(2) Let a = 52, and b = 3. Please compute the quotient and
remainder of a/b.
(3) Let a = -94, and b = 7. Please compute the quotient and
remainder of a/b.
(4) Let a = 123, and b = 22. Please compute a mod b.
(5) Let a = -204, and b = 17. Please compute a mod b.