第三章 最简单的C程序设计——顺序程序设计 例3.6 用%f输出实数,只能得到6位小数。 #include<stdio.h> int main() { double a=1.0; printf("%f\n",a/3); return 0; }