[编程基础]输入输出练习之精度控制2-题解(C语言代码) 摘要:参考代码:#include <stdio.h> int main() { double temp; scanf("%lf",&temp); printf("%0.12lf\n…… 题解列表 2020年07月26日 0 点赞 1 评论 1333 浏览 评分:7.3
[编程基础]输入输出练习之精度控制2-题解(C++代码) 摘要: #include #include using namespace std; int main() { double n; …… 题解列表 2019年09月03日 0 点赞 0 评论 1587 浏览 评分:6.7
[编程基础]输入输出练习之精度控制2-题解(C++代码) 摘要:参考代码:#include <iostream> #include<iomanip> using namespace std; int main() { double a; cin>>a…… 题解列表 2020年07月17日 0 点赞 0 评论 768 浏览 评分:6.0
在哪你都看得到我记住这句话 摘要:解题思路:依旧使用上一道题的setprecision函数拿下这道题注意事项:参考代码:#include<iostream>#include<iomanip…… 题解列表 2026年03月19日 0 点赞 0 评论 87 浏览 评分:0.0
1809:输入输出练习之精度控制2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){double a; //双精度浮点数scanf("%lf",&a);printf("%.12lf",a); …… 题解列表 2022年04月07日 1 点赞 0 评论 591 浏览 评分:0.0
编写题解 1809: [编程基础]输入输出练习之精度控制2 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double x; cin >> x; printf(…… 题解列表 2024年07月31日 0 点赞 0 评论 429 浏览 评分:0.0
输入输出--3.双精度控制 摘要:解题思路:双精度浮点数double(与上一题对比看)参考代码:#include<stdio.h>int main(){ double a;//双精度浮点数double; scanf("%lf",&a)…… 题解列表 2023年03月23日 0 点赞 0 评论 588 浏览 评分:0.0
输入输出练习之精度控制2 摘要:解题思路:输入双精度型浮点数(double),输出精度为12位小数。注意事项:字符宽度有无要求?参考代码:#include<stdio.h>int main(){ double a = 0.0;…… 题解列表 2022年12月29日 0 点赞 0 评论 575 浏览 评分:0.0
编写题解 1809: [编程基础]输入输出练习之精度控制2 摘要:解题思路:注意事项:参考代码: double d; scanf("%lf", &d); printf("%.12f", d);…… 题解列表 2022年11月21日 0 点赞 0 评论 453 浏览 评分:0.0