Posted by: user01 October 15, 2014
Results don't MATCH - WTF is up with this CODE.. HELP
Login in to Rate this Post:     0       ?        
Per documentation my results should show as follows:

Seconds Distance
================
1 16.1000
2 64.4000
3 144.9000
4 257.6000
5 402.5000
6 579.6000
7 788.9000
8 1030.4000
9 1304.1000
10 1610
11 1948.1000
12 2318.4000

I can't get it show decimal places, can anyone shed some light with this question. Also, I have tried placing setprecision (4) in my cout statement with no change. HELP
Read Full Discussion Thread for this article