题解 2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; pr…… 题解列表 2023年12月23日 0 点赞 0 评论 293 浏览 评分:9.9
输出绝对值(java代码) 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Scanner;public class Main { public…… 题解列表 2023年11月01日 0 点赞 1 评论 236 浏览 评分:9.9
编写题解 2779: 输出绝对值 摘要:解题思路:#include <bits/stdtr1c++.h>using namespace std;int main(){ double a; cin>>a; if(a>0) …… 题解列表 2023年12月10日 0 点赞 0 评论 732 浏览 评分:9.9
题解 2779: 输出绝对值 摘要:解题思路:创建一个浮点型变量,再用printf输出就可以了。注意事项:要用#include <bits/stdc++.h>当头文件参考代码:#include <bits/stdc++.h>using …… 题解列表 2023年12月03日 0 点赞 0 评论 440 浏览 评分:9.9
简易,易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ float a; scanf ("%f",&a); if (a>=0) { …… 题解列表 2024年12月03日 0 点赞 0 评论 442 浏览 评分:10.0