Run the provided calculator program.
Choose the operator "square_root"
Enter a negative number
Expected result
The user is asked to enter a number and the output is the square root of that number. If the number is negative it prints an error message.
Steps to Reproduce
Run the provided calculator program. Choose the operator "square_root" Enter a negative number
Expected result The user is asked to enter a number and the output is the square root of that number. If the number is negative it prints an error message.
Actual result The code generates an error.