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

 

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

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)

public int findPerfectCubes(int value){ }

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: 101

Copyright Nick Parlante 2017 - privacy