about | help | code help+videos | done | prefs |
Write a method that returns the greatest common factor of 'num1' and 'num2'. You are not allowed to use ANY methods from the Math library or from any other libraries. Look at the test data for examples. quiz2021_11_16_HL_GCF(16, 32) → 16 quiz2021_11_16_HL_GCF(87, 71) → 1 quiz2021_11_16_HL_GCF(2, 3) → 1 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 270
Copyright Nick Parlante 2017 - privacy