7-15 計算圓周率 (15 分)

輸入樣例: 0.01 輸出樣例: 3.132157 AC代碼 #include <stdio.h> int main(){ double limit, pi, fenzi, fenmu, sum, temp1, sum1, temp2; fenzi = 1; temp1 = 1; temp2 = 3; fenmu = 3; sum = 1; sum1 = 1; scanf("%lf
相關文章
相關標籤/搜索