C++ Program to find Square Root of a number using sqrt() function

By | December 24, 2016

Square Root of a number using sqrt() function


Write a C++ Program to find Square Root of a number using sqrt() function. Here’s simple program to find Root of a Number using sqrt() function in C++ Programming Language.


Square root in C++ can be calculated using sqrt() function defined in math.h header file. This function takes a number as an argument and returns the square root of that number.

Here is source code of the C++ Program to find SquareRoot of a number using sqrt() function. The C++ program is successfully compiled and run(on Codeblocks) on a Windows system. The program output is also shown in below.


SOURCE CODE : :



Output : : 



Above is the source code for C++ Program to find SquareRoot of a number using sqrt() function which is successfully compiled and run on Windows System.The Output of the program is shown above .

If you found any error or any queries related to the above program or any questions or reviews , you wanna to ask from us ,you may Contact Us through our contact Page or you can also comment below in the comment section.We will try our best to reach up to you in short interval.


Thanks for reading the post….

Leave a Reply