#P73. 【例14.1】输出浮点数
【例14.1】输出浮点数
Description
Read a double-precision floating-point number and output it in the following formats: "%f", "%f" with 5 decimal places, "%e", and "%g". Each output should be on a separate line.
Input Format
A double-precision floating-point number.
Output Format
The first line outputs the double-precision floating-point number in "%f" format;
The second line outputs the double-precision floating-point number in "%f" format with 5 decimal places;
The third line outputs the double-precision floating-point number in "%e" format;
The fourth line outputs the double-precision floating-point number in "%g" format.
Sample
12.345678912.345679
12.34568
1.234568e+01
12.3457