int CubeRoot (int n) { int i ; i = 1 ; while (i * i * i < n) { i++ ; } return(i-1) ; }