求输入数据绝对值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <string.h>#include<stdio.h>#include <math.h>int main(){ float n; while(scanf…… 题解列表 2018年07月26日 0 点赞 0 评论 725 浏览 评分:0.0
题解 1848: 求输入数据绝对值 摘要:#include <stdio.h> #include <math.h> int main() { double num; while (scanf("%lf", &num…… 题解列表 2024年04月09日 0 点赞 0 评论 191 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年09月27日 0 点赞 0 评论 136 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:```c++ #include #include #include using namespace std; int main() { double st; whil…… 题解列表 2023年05月12日 0 点赞 0 评论 180 浏览 评分:0.0
求输入数据绝对值,简单 摘要:解题思路:注意事项:1.整型用abs,浮点型用fabs.参考代码:#include<stdio.h>#include<math.h>int main(){ double a; while(scanf(…… 题解列表 2022年07月19日 0 点赞 0 评论 164 浏览 评分:0.0
摩西摩西!! 摘要:```cpp #include using namespace std; int main(){ double n; while(cin >> n){ …… 题解列表 2022年03月19日 0 点赞 0 评论 253 浏览 评分:0.0
c++代码求绝对值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int main(){ …… 题解列表 2022年02月21日 0 点赞 0 评论 255 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:#include <bits/stdc++.h> using namespace std; int main(){ double x; while(cin>>x){ …… 题解列表 2022年01月11日 0 点赞 0 评论 119 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:s=float(input()) a=float(input()) print('{:.2f}'.format(abs(s))) print('{:.2f}'.f…… 题解列表 2022年01月09日 0 点赞 0 评论 215 浏览 评分:0.0
求输入数据绝对值-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b; scanf("%lf%lf",&a,&b); print…… 题解列表 2021年02月05日 0 点赞 0 评论 176 浏览 评分:0.0