english

• In determining the GCF of 3 and 1, case I applies because 3 is evenly divisible by 1. The GCF

• In determining the GCF of 3 and 1, case I applies because 3 is evenly
divisible by 1. The GCF of 3 and 1 is 1, and therefore the GCF of 7 and 3
is also 1.
hots
(a) The gcf method returns the greatest common factor of
parameters a and b, as determined by case I and case II. Write
the gcf method below. You are encouraged to implement this method
recursively

public static int gcfint a, int b)

Leave a Reply

Your email address will not be published.