Just one more question........nearly working now. Is there a way to stop the user from entering values that do not have a root?
Just one more question........nearly working now. Is there a way to stop the user from entering values that do not have a root?
Why don't you test the input value to see if it produces a root after it has been input, and tell the user whether the number is valid or not?