摘要
结合圆周率(π)的近似计算公式,分析C程序设计中几种常用设计思想,给出了π计算算法及源代码,以探讨启发、训练学生编程思维的方法.
Relying on an approximate calculation formula of circumference ratio (π),several important design of C programming is analyzed.Through the calculation algorithm about π,given the source code,and some investigates on inspired and training students on the programming are proposed finally.
出处
《保定学院学报》
2010年第3期70-72,共3页
Journal of Baoding University
关键词
圆周率
循环
数组
函数
递归调用
circumference ratio
cycle
array
function
recursive call