Estimating e.

This WSQ was relative easy but I had a problem because it don’t gave me the correct decimal points of accuracy.
I can find the error and fix it.
I had a little help from http://www.cplusplus.com where I found “setprecision” to calculate decimal points of accuracy, on header <iomanip>. http://www.cplusplus.com/reference/iomanip/setprecision/

 

And here my code: https://github.com/manuelgodm/TC101/blob/master/e.cpp

photo-1444564689166-44a27b01716f.jpg

Picture taken from: https://images.unsplash.com/photo-1444564689166-44a27b01716f?ixlib=rb-0.3.5&q=80&fm=jpg&s=c8ef65b7a48e3d0fef592006d4403939

CC BY 4.0 #WSQ14 by Manuel Godínez Márquez is licensed under a Creative Commons Attribution 4.0 International License.