#CCBCHBA0000066. Bảng chuyển Celsius sang Fahrenheit (Celsius to Fahrenheit Table)
Bảng chuyển Celsius sang Fahrenheit (Celsius to Fahrenheit Table)
Celsius to Fahrenheit Table
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Print the Celsius-to-Fahrenheit table for C=0,10,20,...,100 using F=C*9/5+32. There is NO header. Each row contains the integer C, one space, and F with exactly one decimal digit.
Input
There is no input.
Output
Exactly 11 rows C F in increasing C, each terminated by a newline.
Subtasks
- Subtask 1 (20%): In đủ bảng cố định 11 dòng.
- Subtask 2 (30%): In đủ bảng cố định 11 dòng.
- Subtask 3 (50%): In đủ bảng cố định 11 dòng.
Examples
Example 1
Input:
Output:
0 32.0
10 50.0
20 68.0
30 86.0
40 104.0
50 122.0
60 140.0
70 158.0
80 176.0
90 194.0
100 212.0
Explanation:
First line is 0 32.0, last is 100 212.0, with no header.