#Z12404. 输出浮点数

输出浮点数

Description

Read a double-precision floating-point number, and output it in the following formats, each on a separate line:

  • "%f"
  • "%f" with 5 decimal places
  • "%e"
  • "%g"

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 number in "%f" format with 5 decimal places.
  • The third line outputs the number in "%e" format.
  • The fourth line outputs the number in "%g" format.
12.3456789

12.345679
12.34568
1.234568e+001
12.3457