Root â problem
So I made a basic calculator which can do + - * / ^ â with 2 numbers can be chosen by user. They all worked perfectly fine except the â. Well in this calculator, any root numbers (odd and even number) of a negative number can't be solved on this calculator, which is not true (Example: square root (â) of -4 or fourth root (4â) of -16 is indeed can't be solved but cubic root (3â) of -64 or fifth root (5â) of -1024 can be solved but in this calculator it is not possible) (I used a way to make "custom" root number beside square or cubic root: "pow(x , 1/y)" ). Summary: Odd root number of negative numbers can be solved but in this calculator it just doesn't do it. So i want to know if there is any way to fix this. Here goes the code: https://code.sololearn.com/cs2saqeQUvLH/?ref=app