fig22_19.c

来自「经典vc教程的例子程序」· C语言 代码 · 共 16 行

C
16
字号
/* Reading floating-point numbers */
#include <stdio.h>

main()
{
   float a, b, c;
   
   printf("Enter three floating-point numbers: \n");
   scanf("%e%f%g", &a, &b, &c);
   printf("Here are the numbers entered in plain\n");
   printf("floating-point notation:\n");
   printf("%f\n%f\n%f\n", a, b, c);
   return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?