题解 1015: [编程入门]求和训练

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1-a的和,1-b的2次幂

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    double a,b,c,sum=0,i;    scanf("%lf%lf%lf",&a,&b,&c);……

求和训练学着用函数来写

摘要:题目:求以下三数的和,保留2位小数 1~a之和 1~b的平方和 1~c的倒数和 输入格式:a b c 输出格式1+2+...+a + 1^2+2^2+...+b^2 + 1/1+1/2+...+1/……

利用C++来编写求和训练

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h> using namespace std;int a,b,c;int sumOfa(int a);lo……

1015题: 求和训练

摘要:# 自己写的代码 ```c #include int main() { float a,b,c; float an=0.00,bn=0.00,cn=0.00; scanf("%f ……