Outputs are separated by spaces.
Total time limit: Ms memory limit: 65536kB
-
Description
-
Read a character, an integer, a single-precision floating-point number, a double-precision floating-point number, and then output them in order, and separate them with a space. 6 decimal places are reserved when the floating point is output.
-
Input
-
There are four rows:
The first line is a character;
The second row is an integer;
The third row is a single-precision floating point number;
The fourth row is a double-precision floating point number.
-
Output
-
The output characters, integers, single-precision floating-point numbers, and double-precision floating-point numbers are separated by spaces.
-
Sample Input
-
A122.33.2
-
Sample output
-
A 12 2.300000 3.200000
# Include <stdio. h>
Int main ()
{
Char ch;
Int;
Float B;
Double c;
Scanf ("% c \ n", & ch );
Scanf ("% d \ n", & );
Scanf ("% f \ n", & B );
Scanf ("% lf", & c );
Printf ("% c % d %. 6f %. 6f", ch, a, B, c );
Return 0;
}