PROGRAMMING:Temperature conversion problem
Centigrade temperature and Fahrenheit temperature are two different temperature expression systems. In the former, water from freezing point to boiling point is 0C to 100C, while in the latter, water from freezing point to boiling point is 32F to 212f. Write a program, the input of a temperature into another.
It is suggested that the conversion formula of the two temperatures is f = 32 + 5 * C / 9; C=9*(F-32)/5。
###Input format:
Enter a real number for temperature, followed by letters for temperature system: f or F for Fahrenheit, and C or C for centigrade. There is no separator between the real number and the letters.
###Output format:
Output the converted temperature (two decimal places are reserved, followed by the temperature system specifier); If the input data format is wrong (the temperature system is not marked effectively), output error
###Input sample 1:
```in
36.66C
```
###Output sample 1:
```out
97.99F
```
###Input sample 2:
```in
13.88f
```
###Output sample 2:
```out
-10.07C
```
answer:If there is no answer, please comment
It is suggested that the conversion formula of the two temperatures is f = 32 + 5 * C / 9; C=9*(F-32)/5。
###Input format:
Enter a real number for temperature, followed by letters for temperature system: f or F for Fahrenheit, and C or C for centigrade. There is no separator between the real number and the letters.
###Output format:
Output the converted temperature (two decimal places are reserved, followed by the temperature system specifier); If the input data format is wrong (the temperature system is not marked effectively), output error
###Input sample 1:
```in
36.66C
```
###Output sample 1:
```out
97.99F
```
###Input sample 2:
```in
13.88f
```
###Output sample 2:
```out
-10.07C
```
answer:If there is no answer, please comment