Reply To: Approximate the value of PI

Home Forums C Programming Approximate the value of PI Reply To: Approximate the value of PI

#3446

glimpse
Member

I don’t understand so much from mathemics, but a problem migth be, that your variable i is an integer value.
Something else: What should happen, if (i%2==1) ?
I expect you mean the hole part:

0 Shares
Share
+1
Tweet
Share
Stumble