import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); double num = scanner.nextDouble(); System.out.printf("%.3f", (num - 32.0) * 5.0 / 9.0); } }
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); double num = scanner.nextDouble(); System.out.printf("%.3f", (num - 32.0) * 5.0 / 9.0); } }