Write a C++ Program to find Cube Root of a Number

By | December 25, 2016

Find Cube Root of a Number


Write a C++ Program to find Cube Root of a Number. Here’s simple Program to find Cube Root of a Number using pow( ) function in C++ Programming Language.


To find cube root of any number we need to find 0.3 power of any number. For example : : if you need to find cube root of 27, then calculate 0.3 power of 27, result is 3.

And one another method for this program is use cbrt() function it is pre-defined in math.h header file.

cbrt() is a predefined function in math.h header file, it is used for calculate cube root of any number.


Here is source code of the C++ Program to find Cube Root of a Number using pow( ) 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 Cube Root of a Number using pow( ) 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