import java.util.Scanner;
/**
*
算法提高 温度转换
时间限制:1.0s 内存限制:512.0MB
问题描述
编写一个程序,输入一个摄氏温度,输出相应的华氏温度。在输出时,保留小数点后面两位。
输入格式:输入只有一个整数,即摄氏温度。
输出格式:输出只有一实数,即相应的华氏温度。
输入输出样例
样例输入
35
样例输出
95.00
*
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n =sc.nextInt();
System.out.printf("%.2f",32 + n*1.8 );
}
}