I was trying to make a Calculator in the Console.
Now I was thinking of adding the nth-Root of a Number.
I decided to take the input in the form of a Double.
So my question is: how can we calculate the Root of a number?
Well, I thought of that.
I think I will use it.
But other than that, is there a mathematical way to do so?
EDIT:
That method will not work since I am parsing a string that is Input by the user.
This is the link to my code(it is still incomplete):http://pastebin.com/6GV5wtLy