编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:float 类型在做除法时数据类型都要是float参考代码:#include<stdio.h>#include<math.h>int i;int Sum(int a){ …… 题解列表 2023年02月25日 0 点赞 0 评论 94 浏览 评分:0.0
只想说明一个小的细节问题 摘要:解题思路:很简单注意事项:注意数学小问题,分母不为0!!!!!!参考代码:#include<stdio.h>int main(){ int a,b,c; float i; double s1=0.0,…… 题解列表 2023年03月01日 0 点赞 0 评论 115 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:```c #include #include #include #include int main() { double a = 0.0, b = 0.0, c = 0.0; …… 题解列表 2023年03月01日 0 点赞 0 评论 207 浏览 评分:0.0
c++求和训练 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,sum=0,sqrt=0,s…… 题解列表 2023年03月08日 0 点赞 0 评论 132 浏览 评分:0.0
求和训练C++ 摘要:解题思路:采用多重for循环进行三次循环相加注意事项:结尾输出必须采用精确小数点函数,否则会因为float限制而造成输出一位小数参考代码:#include<bits/stdc++.h>using na…… 题解列表 2023年03月22日 0 点赞 0 评论 162 浏览 评分:0.0
求和训练-题解 摘要:解题思路: 1.求1-a的和,1-b的平方和,1-c的倒数和 2.用三个变量分别保存三种求和,在对这三个变量进行求和注意事项: …… 题解列表 2023年03月27日 0 点赞 0 评论 126 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:for循环就可以解决参考代码:import math a,b,c=map(int,input().split()) sum_1=0 sum_2=0 sum_3=0 for i in…… 题解列表 2023年03月29日 0 点赞 0 评论 150 浏览 评分:0.0
1015题: 求和训练 摘要:# 自己写的代码 ```c #include int main() { float a,b,c; float an=0.00,bn=0.00,cn=0.00; scanf("%f …… 题解列表 2023年04月27日 0 点赞 0 评论 148 浏览 评分:0.0
[编程入门]求和训练 摘要:一、解题思路:C参考代码:#include <stdio.h> int main() { double a, b, c, s1 = 0, s2 = 0, s3 = 0, s = 0; s…… 题解列表 2023年05月05日 0 点赞 0 评论 91 浏览 评分:0.0
1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int a, bv=0,b=0, c=0; float d=0; scanf_s("%d%d%d", &a, …… 题解列表 2023年07月14日 0 点赞 0 评论 98 浏览 评分:0.0