Answer
$Output:$
Largest integer n such that n^3 is less than 12000: 22
Work Step by Step
$Statement:$
(Find the largest n such that $n^3$ >12,000) Use a while loop to find the largest
integer n such that $n^3$ is less than 12,000.
$Code:$
import math
n=0
while(math.pow(n+1,3)<12000):
$ $ $ $ $ $ $ $ n=n+1
print("Largest integer n such that n^3 is less than 12000:",n)
$Output:$
Largest integer n such that n^3 is less than 12000: 22