id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

andersoniii.edwin@cusd80.com > greatestCommonFactorThree
prev  |  next  |  chance

Greatest Common Factor GFC -- You remember--- the largest number that will divide into more than two numbers. The input parameters will be three integers and the returning value will be an integer also - the GCF. Example 16, 20, 24 the GCF is 4 (remember a GCF may be ONE).


greatestCommonFactorThree(16, 20, 24) → 4
greatestCommonFactorThree(24, 20, 16) → 4
greatestCommonFactorThree(2, 3, 4) → 1

...Save, Compile, Run (ctrl-enter)

public int greatestCommonFactorThree(int num1, int num2, int num3) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 111

Copyright Nick Parlante 2017 - privacy