Euler’s Number

--Originally published at Future Queen of C++

I used one of my older WSQ to complete this, for the rest of the WSQ, I made a funtion called Euler of type double, which calculates the number with the formula I got from a quick google research

Screen Shot 2017-11-14 at 5.30.23 PM

After learning what means what in that formula, I just created the main funtion where it asks you how many decimals would you like in the answer of Euler, the number of decimals entered must be in decimals.

Euler

 


WSQ 06 – Factorial

--Originally published at Solving problems with programming

For these final algorithm was some difficult for me because i have never see the topic in the book or class, but my little friend mariel help out with her code and a little but great explanation.

This is my github link: https://gist.github.com/jesuscmadrigal/2466048b4a0ec5ec0dd459fb9b86a13b

Haga click para ver el pase de diapositivas.