1. 新建C文件mfloat.c
#include <stdio.h> int main(void) { double a,b,c; a = 23.5436; b = 323.2348; c = b/a; printf("the result = %f\n", c); printf("hello world !\n"); return 0; }
2. 是 -v 选项
3. 显示结果如下