I have a problem. The task is to calculate
x = pow (a, 5) - 2*sqrt (abs (b)) + a * b * c
and print out the result with to number behind the decimal point. I googled and found out the use of iomanip
library and setprecision()
function, and it worked. But I don't know why when the input is -10, -20, -30, it printed out -106008.95 while it should be -106008.94
Please help me to fix this, thank you so much