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

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

筛选

简单输出易懂浮点数

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

C语言格式输出

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

简单代码易理解

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