2015 C Chapter 1 (Week 01-03)

From: 2015-03-02 00:00:00 To: 2015-04-12 00:00:00 Now: 2024-05-03 11:08:14 Status: Public

C - 연습 1.3 화씨와 섭씨

Time Limit: 1s Memory Limit: 128MB

Submissions: 1988 Solved: 712
Description

화씨(Fahrenheit)를 섭씨(Celsius)로 바꾸는 프로그램을 작성해보자. 프로그램은 다음과 같이 출력해야 한다.

Input

없음

Output

Sample Output과 동일한 출력을 한다.

Sample Input

    
Sample Output
  0 -17.78
 20  -6.67
 40   4.44
 60  15.56
 80  26.67
100  37.78
120  48.89
140  60.00
160  71.11
180  82.22
200  93.33
220 104.44
240 115.56
260 126.67
280 137.78
300 148.89