Question: c++ linux, how to get rid of exponent output using double? I have this program where I am working with double values, but the output
c++ linux, how to get rid of exponent output using double?
I have this program where I am working with double values, but the output are always in exponential values but I do not need them to be.

And the output is what I usually get.

I have tried using cout.precision and fixed as well and both have not worked. Am I doing something wrong?
cout endTotal>>endIdle double programTota!Time = endTotal - startTotal; double program1d1eTime end1d1e - start!dle; double programWorkTime programTotalTime-programIdleTime; double percentage (programworkTime/programTotalTime) *100; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
