题解 1848: 求输入数据绝对值

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

筛选

c++代码求绝对值

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int main(){    ……

1848: 求输入数据绝对值

摘要:#include <bits/stdc++.h> using namespace std; int main(){     double x;     while(cin>>x){   ……

摩西摩西!!

摘要:```cpp #include using namespace std; int main(){ double n; while(cin >> n){ ……

求输入数据绝对值,简单

摘要:解题思路:注意事项:1.整型用abs,浮点型用fabs.参考代码:#include<stdio.h>#include<math.h>int main(){ double a; while(scanf(……

1848: 求输入数据绝对值

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() {    ……

求输入数据绝对值-题解(C语言代码)

摘要:解题思路:题目没有给出停止的条件,但是又不知道什么时候停止,则需要用EOF注意事项:参考代码:#include<stdio.h> int main() {     float q;     w……