-->
当前位置:首页 > 题库

PROGRAMMING:Output floating point number

Luz5年前 (2021-05-10)题库620
###Task description
Read in a double precision floating-point number, and output the integer in the form of output format of "F", "F" with 5 decimal places, "e" and "g", each time on a separate line.
###Input format:
A double precision floating-point number.
###Output format:
The output has four lines:
The first line is the double precision floating-point number output by "F";
The second line is a double precision floating-point number with 5 decimal places reserved by "F";
The third line is the double precision floating-point number output by "e";
The fourth line is the double precision floating-point number output by% G.
###Input example:
```in
twelve point three four five six seven eight nine
```
###Output example:
```out
twelve point three four five six seven nine
twelve point three four five six eight
1.234568e+01
twelve point three four five seven
```
###Title Source
This topic is selected from openjudge website http://noi.openjudge.cn/ch0101/07/ .







answer:If there is no answer, please comment