Somebody please help me with this. In the last 5 mins. or so, I've been trying to write a program that just shows digits in pi. I have the formula for it (1/2.545584412*8).
Here is my code. Whenever I execute it, it just shows 575 and terminates.
cout << pi;
Thanks for any reply.