用while语句与do-while语句求1到20的阶乘的和
问题描述:
用while语句与do-while语句求1到20的阶乘的和
答
/*用while语句语句求1到20的阶乘的和*/ #include #define N 20 void main() { int i, sum, sum1; sum = 1; i = 2;while (i
用while语句与do-while语句求1到20的阶乘的和
/*用while语句语句求1到20的阶乘的和*/ #include #define N 20 void main() { int i, sum, sum1; sum = 1; i = 2;while (i