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,
5.3m questions
6.9m answers