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

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

筛选

多组输入~~~

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double n; while(scanf("%lf",&n)!=EOF) pr……

求输入数据的绝对值C++

摘要:解题思路:基础注意事项:注意细节部分参考代码:#include<stdio.h>int main(){ double a,b;; while(scanf("%lf",&a)!=EOF) { if(a……

1848: 求输入数据绝对值

摘要:解题思路:注意事项:参考代码:while True:     try:         x = input()         print(&#39;%.2f&#39;%abs(float(x)……