Answer:
Sample output:
Enter the number: 25
The square root of 25 is: 5
Enter the number: -25
The square root of 25 is: Nan
Step-by-step explanation:
Here the code is given as follows,
7.2m questions
9.7m answers