Coding challenge

Write some code to find how many real values of $x$ will $\sqrt{120-\sqrt{x}}$ be an integer? (Ans: 11) (Ref: AMC 2006 12A)

Type your code here:


Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: