Program that compute formula sqrt A+C*(D*E) -C/(F+G) *(H*J) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Program that compute formula sqrt A+C*(D*E) -C/(F+G) *(H*J)

Program that compute formula sqrt A+C*(D*E) -C/(F+G) *(H*J)

17th Sep 2021, 6:37 PM
Usman Bkolomi
Usman Bkolomi - avatar
2 Answers
0
You can use sqrt function of cmath header file, learn about it here: https://www.geeksforgeeks.org/sqrt-sqrtl-sqrtf-cpp/
17th Sep 2021, 6:45 PM
Rupali Haldiya
Rupali Haldiya - avatar
0
What are the A ,B ,C ....J you want to find square root of this complete equation the simple thing u can do first take a vlaues from user then solve this expression and store the result in any double type of variable and find the Square root for this u can use predefined function sqrt which is defined in math.h headerfile.
17th Sep 2021, 6:55 PM
A S Raghuvanshi
A S Raghuvanshi - avatar