about | help | code help+videos | done | prefs |
How many perfect odd cubes are there for a given number... Write the method findPerfectOddCubes to count the number of perfect odd cubes between one and a given number (inclusive) if 30 is given --> 1, 27 are the odd cubes between 1 and 30 so the conclusion would be 2. findPerfectOddCubes(10) → 1 findPerfectOddCubes(125) → 3 findPerfectOddCubes(130) → 3 ...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: 102
Copyright Nick Parlante 2017 - privacy