Calculate π simple program

zhaozj2021-02-16  72

#include #include

Long a = 10000, b, c = 2800, d, e, f [2801], g;

Main () {for (; bc;) F [b ] = a / 5; for (; D = 0, g = c * 2; c- = 14, printf ("%. 4D", E D / A ), E = D% a) for (b = C; D = f [b] * a, f [b] = D% - g, d / = g -, - b; d * = b) }

转载请注明原文地址:https://www.9cbs.com/read-12694.html

New Post(0)