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

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

筛选

求和训练注意事项

摘要:注意事项:     在求1~c的倒数和时要注意结果要为浮点类型,否则会舍弃小数部分参考代码:package dotcpp; import java.text.DecimalFormat; im……

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

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

1015c语言代码

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,i; double sum1=1,sum2=pow(1,2)……

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

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