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

PROGRAMMING:Format I / O

Luz5年前 (2021-05-10)题库388
This problem requires formatting input data, three data, the first is an integer, the second is a real number, the third is a character. Then format the output of the three data.
###Input format:
Enter three data in one line. A is an integer, B is a real number, and C is a character. The format is:
A = integer, B = real, C = character.
###Output format:
The output is a = integer, B = real, C = character. The width of the integer is 10, left aligned, and the number is preceded by a sign; The width of the real number is 20, with 3 decimal places; Characters are not required.
###Input example:
```in
a=3,b=5.5:c=A
```
###Output example:
```out
a=+3 ,b= 5.500,c=A
```






answer:If there is no answer, please comment