【例13.1】空格分隔输出
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
Read a character, an integer, a single-precision floating-point number, and a double-precision floating-point number, then output them in order, separated by a space. When outputting floating-point numbers, retain 6 decimal places.
Input Format
The first line is a character;
The second line is an integer;
The third line is a single-precision floating-point number;
The fourth line is a double-precision floating-point number.
Output Format
Output the character, integer, single-precision floating-point number, and double-precision floating-point number, separated by spaces.
Sample
a
12
2.3
3.2a 12 2.300000 3.200000
20251018B班作业(3)
- Status
- Done
- Problem
- 2
- Open Since
- 2025-10-19 0:00
- Deadline
- 2025-10-26 23:59
- Extension
- 24 hour(s)