format matrix with integers and double precision in C++
<p>How could you print integers and double precision values in a matrix. 
ex.(100 34 56 77.80
    75  45 98 22.00
I am able to print the matrix except that the double values with trailing zeroes do not display the trailing zero.
I believe the answer lies within the  library but I have tried multiple combinations with no luck.
Need help.</p>
