π in D
I was finished with the pi approximations series, but @CodeLongAndPros suggested in my latest post (https://repl.it/talk/share/Introducing-Multi-Language-Programming/42875) to learn D, so here is the pi approximation in D! D is sort of like a combination of C++ and C in my opinion.
To find the other pi approximations, go to https://repl.it/talk/share/p-in-Scala/42025! This is an addition to the original series, so I will not include the link to all of the others in this one, but will add the link to this one in the
latest one in the series (Scala).