Inspiration
MLH
What it does
It prints the value of pi up to the nth digit entered by the user, but it takes only 1 to 20 as an input :(
How we built it
Using C++ atan function. The atan() function in C++ returns the inverse tangent of a number (argument) in radians. The atan() function returns the value in the range of [-π/2, π/2].
Challenges we ran into
Tricks to find nth digit of pi, also not able to figure out why it is taking only up to 20 digits. :)
Log in or sign up for Devpost to join the conversation.