题解 1811: [编程基础]输入输出练习之浮点数专题

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

筛选

C语言格式输出

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    double a;    scanf("%lf",&a);    printf("%f\n",a);   ……

1811基础解法(简短输出)

摘要:解题思路:题目:输入一个双精度浮点数,输出这个浮点数的%f结果、保留5位小数的结果、%e、%g格式的结果……

浮点专题c++

摘要:#include#includeusing namespace std;int main(){ double a; cin>>a; cout……

1811:浮点数专题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    double a;    scanf("%lf", &a);    printf("%f\n", a); ……

ikun崩溃代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double x; scanf("%lf",&x); printf("%f\n",x); print……