使用Scanf时须要注意:spa
1.printf把%f、%e、%E、%g、%G同时用于float类型和double类型 而scanf()只把他们用做float类型,而用于double类型时要求用 l(小写L)修饰float
2. scanf()不能指定精度co