单项选择题

If the cube of n is 180 greater than the square of n, then n=()

A. 10
B. 9
C. 8
D. 7
E. 6