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